Skip to content

Commit a0d1c09

Browse files
rickfastsmyrick
authored andcommitted
docs: Query and Mutation should be marker interfaces rather than annotations (ExpediaGroup#355)
1 parent c954bef commit a0d1c09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphql-kotlin-spring-server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ graphql:
3535
- "com.your.package"
3636
```
3737
38-
In order to expose your queries, mutations and subscriptions in the GraphQL schema you simply need to implement corresponding marker annotations and they will be automatically picked up by `graphql-kotlin-spring-server` autoconfiguration library.
38+
In order to expose your queries, mutations and subscriptions in the GraphQL schema you simply need to implement corresponding marker interfaces and they will be automatically picked up by `graphql-kotlin-spring-server` autoconfiguration library.
3939

4040
```kotlin
4141
class MyAwesomeQuery : Query {

0 commit comments

Comments
 (0)