moonbitstack/moongql/schema does not have a README file
fn ObjectType::field(self : ObjectType, name : String, typ : GqlType, deprecation_reason? : String, description? : String) -> Unitfn ObjectType::field_args(self : ObjectType, name : String, args : Array[(String, GqlType)], typ : GqlType, defaults? : Array[(String, Json)], deprecation_reason? : String, description? : String) -> Unitpub struct Schema {
types : Array[ObjectType]
enums : Array[EnumType]
unions : Array[UnionType]
scalars : Array[ScalarType]
query : String
mutation : String?
subscription : String?
field_directives : Map[String, Array[AppliedDirective]]
type_directives : Map[String, Array[AppliedDirective]]
schema_directives : Array[AppliedDirective]
directive_defs : Array[DirectiveDef]
}fn Schema::apply_field_directive(self : Schema, type_name : String, field_name : String, directive : AppliedDirective) -> Unitfn Schema::apply_type_directive(self : Schema, type_name : String, directive : AppliedDirective) -> Unitfn Schema::field_applied_directives(self : Schema, type_name : String, field_name : String) -> Array[AppliedDirective]fn is_builtin_scalar(name : String) -> Boolfn is_meta_field(name : String) -> BoolInstall
Download zipmoongql — a code-first GraphQL library for MoonBit (← strawberry-graphql): define object types and fields in code, emit the schema SDL.