Conversation
✅ Docs preview has no changesThe preview was not built because there were no changes. Build ID: 80f2fcf3ef30d0d7d99b89e4 |
| public static final fun validateAsExecutable (Lcom/apollographql/apollo/ast/GQLDocument;Lcom/apollographql/apollo/ast/Schema;)Lcom/apollographql/apollo/ast/ExecutableValidationResult; | ||
| public static final fun validateAsSchema (Lcom/apollographql/apollo/ast/GQLDocument;)Lcom/apollographql/apollo/ast/GQLResult; | ||
| public static final fun validateAsSchema (Lcom/apollographql/apollo/ast/GQLDocument;Lcom/apollographql/apollo/ast/internal/SchemaValidationOptions;)Lcom/apollographql/apollo/ast/GQLResult; | ||
| public static final fun validateAsSchema (Lcom/apollographql/apollo/ast/GQLDocument;Lcom/apollographql/apollo/ast/SchemaValidationOptions;)Lcom/apollographql/apollo/ast/GQLResult; |
There was a problem hiding this comment.
Breaking change because SchemaValidationOptions was in an internal package. It was @ApolloExperimental so I'm hoping it's not too used.
|
This doesn't include the field extensions part? |
Can you ellaborate a bit what's missing? |
Should this implement the |
|
Ah yes, this was discussed in the December working group and there were concerns about different lexers, etc... So the recommendation was to use the existing syntax for simplicity. This is what @egoodwinx made in the graphql-js PR Adding a directive is done like so: type Query {
random: Int
}
extend type Query {
random: Int @deprecated
}I don't have a strong opinion there but not using schema coordinates, sure simplifies things |
Thanks a lot for the link! I was there but missed it 😅. Yeah I actually like that it's a smaller change 👍 |
See graphql/graphql-spec#1162