We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom defined directives from another file not
To Reproduce
directive @Resource(Name: String!, Route: String, Primary: Boolean, DB: DbConfig) on OBJECT directive @Field(Label: String, Description: String, DB: DbFieldConfig) on FIELD_DEFINITION
directives.graphql
schema: - "./directives.graphql"
types.graphql
type User @Resource(Name: "user", Primary: true, Route: "user", DB: {Table: "user"}) { id: ID! @Field(Label: "ID", Description: "ID of the todo", DB: {Column: "id", PrimaryKey: true}) name: String! @Field(Label: "Text", Description: "Text of the todo", DB: {Column: "name", Unique: true}) cars: [Car!]! @Field(Label: "Cars", Description: "Cars of the todo", DB: {}) }
schema: - "./directives.graphql" - "./types.graphql"
Version and Environment Details Operation system: MacOS IDE name and version: Goland or Intellij IDEA Plugin version: 4.0.2
The text was updated successfully, but these errors were encountered:
@diazoxide Hi! Sorry for the late response. Unfortunately, I can't reproduce the issue. My project looks like that, no errors so far.
input DbConfig { Table: String } input DbFieldConfig { Column: String PrimaryKey: Boolean Unique: Boolean } type Car { name: String } type User @Resource(Name: "user", Primary: true, Route: "user", DB: {Table: "user"}) { id: ID! @Field(Label: "ID", Description: "ID of the todo", DB: {Column: "id", PrimaryKey: true}) name: String! @Field(Label: "Text", Description: "Text of the todo", DB: {Column: "name", Unique: true}) cars: [Car!]! @Field(Label: "Cars", Description: "Cars of the todo", DB: {}) }
graphql.config.yml
Sorry, something went wrong.
No branches or pull requests
Custom defined directives from another file not
To Reproduce
directives.graphql
to schemas in (graphql.config.yaml or .graphqlrc e.t.c.)types.graphql
types.graphql
to schemas tooVersion and Environment Details
Operation system: MacOS
IDE name and version: Goland or Intellij IDEA
Plugin version: 4.0.2
The text was updated successfully, but these errors were encountered: