You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each workspace has its own objects and graphql schema, defined through some metadata (objects, fields, relations, ...).
If I create an object named "person", I should be able to query the API to retrieve my records of the Person object. The schema will have a Person type and its associated resolvers. Twenty will dynamically generate something like this:
query Person {
person(filter: {id: { eq: "something"}}) {
id
}
}
This works well in most of the cases however Graphql does not accept type names such as "1Event" or "한국어", which means we need to also have the same kind of validation on our metadata names definition.
Technical inputs
Transliteration libraries could help with languages that use characters not accepted by Graphql regex, we will also need to escape special characters and numbers (or at least the ones that start with a number)
The text was updated successfully, but these errors were encountered:
Scope & Context
Each workspace has its own objects and graphql schema, defined through some metadata (objects, fields, relations, ...).
If I create an object named "person", I should be able to query the API to retrieve my records of the Person object. The schema will have a Person type and its associated resolvers. Twenty will dynamically generate something like this:
This works well in most of the cases however Graphql does not accept type names such as "1Event" or "한국어", which means we need to also have the same kind of validation on our metadata names definition.
Technical inputs
Transliteration libraries could help with languages that use characters not accepted by Graphql regex, we will also need to escape special characters and numbers (or at least the ones that start with a number)
The text was updated successfully, but these errors were encountered: