Schema is used to define the schema for the controller
schemaWithName
function to create type-safe data structures.
schemaWithName()
function creates an Orionjs schema with a name, which is required for GraphQL integration. Each property is defined with its type and options.
schemaWithName
are automatically converted to GraphQL types when used in your API, saving you from writing redundant type definitions.
UserSchema