Sha256: 49559ec72a77bd495b55d0288a0d06df8ce3c5c7b719425ec2f6e719cfd709d7
Contents?: true
Size: 739 Bytes
Versions: 12
Compression:
Stored size: 739 Bytes
Contents
Description: Generates a query stub. rails g artemis:query QUERY_TYPE [FILE_NAME] Example: rails g artemis:query artist This will create: app/operations/artsy.rb app/operations/artsy/artist.graphql The GraphQL file name could be specified by giving the third argument: rails g artemis:query artist artist_in_tooltip This will create: app/operations/artsy.rb app/operations/artsy/artist_in_tooltip.graphql If there are multiple services registered, the service could be specified with +--service+ option: rails g artemis:query repository --service github This will create: app/operations/github.rb app/operations/github/repository.graphql
Version data entries
12 entries across 12 versions & 1 rubygems