Skip to content

Commit 2ac818f

Browse files
authored
Update graphql-provider.md
1 parent 9971450 commit 2ac818f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/code/language-support/java-kotlin-android/server/graphql-provider.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ github: babyfish-ct/graphql-provider
1515

1616
5. For mutation operations, the inputs type can be automatically generated according to a simple configuration, develpers only need to focus on entity objects, not input objects. At runtime, the framework can automatically convert the input object to a dynamic entity object tree and you only need one sentence to save any complex entity object tree to the database.
1717

18+
6. Integrated Spring security and JWT. Allows users to authorize by behavior, authorize by column, and authorize by row through the kotlin DSL.
19+
1820
**Here is a simple example**
1921

2022
> Due to space limitations, all *EntityMapper*s only uses a static mapping configuration similar to ORM, and does not use a more dynamic code configuration. For a complete demonstration, please refer to the example and documentation of the project itself.
@@ -76,7 +78,7 @@ github: babyfish-ct/graphql-provider
7678
// that means its pagination query.
7779
// pagination arguments such as "first", "after", "last", "before"
7880
// will be added by framework automactically and implicitly
79-
fun findBooks(
81+
suspend fun findBooks(
8082
name: String?,
8183
storeName: String?
8284
): Connection<Book> =

0 commit comments

Comments
 (0)