graphql
No long description provided.
Installation
dagger install github.com/lgtdio/dagger/modules/graphql@6a67e2f344292c74cb8020bd136a9eaf45ac9c39Entrypoint
Return Type
GraphqlExample
dagger -m github.com/lgtdio/dagger/modules/graphql@6a67e2f344292c74cb8020bd136a9eaf45ac9c39 call \
func (m *MyModule) Example() *dagger.Graphql  {
	return dag.
			Graphql()
}@function
def example() -> dagger.Graphql:
	return (
		dag.graphql()
	)@func()
example(): Graphql {
	return dag
		.graphql()
}Types
Graphql 🔗
An instance of the GraphQL module
fromJson() 🔗
Load a GraphQL schema from a JSON spec
Return Type
Schema !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| spec | File ! | - | No description provided | 
Example
dagger -m github.com/lgtdio/dagger/modules/graphql@6a67e2f344292c74cb8020bd136a9eaf45ac9c39 call \
 from-json --spec file:pathfunc (m *MyModule) Example(spec *dagger.File) *dagger.GraphqlSchema  {
	return dag.
			Graphql().
			FromJson(spec)
}@function
def example(spec: dagger.File) -> dagger.GraphqlSchema:
	return (
		dag.graphql()
		.from_json(spec)
	)@func()
example(spec: File): GraphqlSchema {
	return dag
		.graphql()
		.fromJson(spec)
}Schema 🔗
A GraphQL schema
file() 🔗
The schema encoded to a .graphql file
Return Type
File !Example
dagger -m github.com/lgtdio/dagger/modules/graphql@6a67e2f344292c74cb8020bd136a9eaf45ac9c39 call \
 from-json --spec file:path \
 filefunc (m *MyModule) Example(spec *dagger.File) *dagger.File  {
	return dag.
			Graphql().
			FromJson(spec).
			File()
}@function
def example(spec: dagger.File) -> dagger.File:
	return (
		dag.graphql()
		.from_json(spec)
		.file()
	)@func()
example(spec: File): File {
	return dag
		.graphql()
		.fromJson(spec)
		.file()
}