fastcs.transports.graphql.util#

Members

validate_graphql_id

Reject controller ids that aren't valid GraphQL field names.

fastcs.transports.graphql.util.validate_graphql_id(id: str) None[source]#

Reject controller ids that aren’t valid GraphQL field names.

GraphQL Name syntax is the most restrictive of FastCS’s transports: only letters, digits and underscores are allowed, and the first character cannot be a digit. This drives the lowest-common-denominator id-naming guidance for users mixing transports.