GraphQLServer

GraphQLServer exposes your data as a GraphQL API. Client applications can connect to your GraphQL server to query your data.


Properties

Schema

The GraphQL schema for your GraphQL server.

Click on the [...] icon to open the Schema editor.

An event is automatically created for each query that is included in the schema, as shown below:

GraphQL Schema

You can add any Linx functions to the events to handle the requests sent to your GraphQL service.

Base URL

The URL where the GraphQL server will be published, e.g. http://localhost:8024/MyGraphQLServer.

Show server errors

Show details for internal server errors in HTTP responses.

Max connections

The maximum number of concurrent connections to accept.

Max request size

The maximum allowed size of any request body in megabytes.

CORS origins

A list of allowed origin URLs for cross-origin resource sharing.

Scheme

The security scheme to use.

Before operation

Show the Before-Operation event handler. This handler will execute before the execution of any operation.

After operation

Show the After-Operation event handler. This handler will execute after the execution of any operation.


graphql.org

howtographql.com

towardsdatascience.com

Last updated