Open cherylli opened 1 year ago
I was able to solve this by manually creating a stepzen.graphql
file and adding the custom scalars, inputs, and directives
Short example (using just the directives I need for my schema)
directive @rest (endpoint: String!, configuration: String, resultroot: String, setters: [Setter], headers: [Header]) on FIELD_DEFINITION
directive @graphql (endpoint: String!, configuration: String, headers: [Header], prefix: Prefix) on FIELD_DEFINITION
directive @sdl (files: [String]) on SCHEMA
input Header {
name: String
value: String
}
input Setter {
field: String
path: String
}
input Prefix {
value: String
includeRootOperations: Boolean
}
They are coming up as invalid.
For example, in a .graphql file (I already have the graphql plugin installed)
@materializer![image](https://user-images.githubusercontent.com/6191116/218445583-74144955-793f-4a5b-9b29-f3145d977fb2.png)
https://stepzen.com/docs/custom-graphql-directives/directives#type-system-directives