Js-graphql-intellij-plugin: support graphcool framework

Created on 27 Oct 2017  路  3Comments  路  Source: jimkyndemeyer/js-graphql-intellij-plugin

in graphcool framework we can see @model, @isUnique in schema file. which not supported with graphql plugin

https://github.com/graphcool/framework

screenshot from 2017-10-27 09-54-04

# The following types define the data model of the example service
# based on which the GraphQL API is generated

type User @model {
  id: ID! @isUnique
  name: String!
  dateOfBirth: DateTime

  # Uncomment below - you can declare relations between models like this

  # posts: [Post!]! @relation(name: "UserPosts")
}


# Uncomment the model below as well

# type Post @model {
#   id: ID! @isUnique
#   title: String!
# 
#   # Every relation also required a back-relation (to determine 1:1, 1:n or n:m)
#   author: User! @relation(name: "UserPosts")
# }

Most helpful comment

Maybe the ability to add arbitrary white-listed directives to configuration would be a catch-all solution for things like this.

All 3 comments

Maybe the ability to add arbitrary white-listed directives to configuration would be a catch-all solution for things like this.

I'm merging this and related issues into #121

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dhay picture dhay  路  5Comments

vjpr picture vjpr  路  4Comments

victororlyk picture victororlyk  路  3Comments

MichaelDeBoey picture MichaelDeBoey  路  4Comments

jamiter picture jamiter  路  3Comments