-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
c/cliRelated to CLIRelated to CLI
Description
We require finer-grained permissions and this makes our remote_schema.yml file quite large with the number of permissions definitions per role.
We noticed that when creating the remote_schema.yml file from the UI, if the list of permissions becomes too long the permission definition section is formatted as a string and not in the proper YAML format.
This leads to problems when trying to use hasura metadata apply, so we have to manually re-format and tophat the yaml file before applying.
- role: user
definition:
schema: |-
schema { query: Query mutation: Mutation }
type Mutation { saveVideoResponse(id: String, input: VideoResponseInput!): Boolean!
}
type Query { _service: _Service
}
type _Service { sdl: String!
}
input VideoResponseInput {contactId: String!
interactionLink: String!
}
- role: candidate
definition:
schema: "schema { query: Query mutation: Mutation }\n\ntype Candidate { address:
String\n appliedTime: Float\n bacbCertificationNumber: String\n cityLocation:
String\n desiredStartDate: String\n emailAddress: String!\n employmentType:
....
If this fix is accepted, I would love to write the code for it :).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c/cliRelated to CLIRelated to CLI