Results for keyword: apollographql enum resolver

Top keyword related from Google/Bing/Yahoo of apollographql enum resolver

Load more

Top URL related to apollographql enum resolver

1. Text link: Write query resolvers - Apollo Basics - Apollo GraphQL Docs

Domain: www.apollographql.com

Link: https://www.apollographql.com/docs/tutorial/resolvers/

Description: A resolver function returns one of the following: Data of the type required by the resolver's corresponding schema field (string, integer, object, etc.) A promise that fulfills with data of the required type; The resolver function signature. Before we start writing resolvers, let's cover what a resolver function's signature looks like.

2. Text link: Enum value is not resolved correctly on ...

Domain: github.com

Link: https://github.com/apollographql/apollo-server/issues/4143

Description: apollographql / apollo-server. Watch 217 Star 10.8k Fork 1.6k Code; Issues 475; Pull requests 131; ... to build the federation schema using buildFederatedSchema - It seems that when defining default values for an input enum type property and the enum resolver has different values than keys, it doesn't recognize the default enum value ...

3. Text link: Custom scalars - Apollo Server - Apollo GraphQL Docs

Domain: www.apollographql.com

Link: https://www.apollographql.com/docs/apollo-server/schema/custom-scalars/

Description: A guide to using Apollo Server. The GraphQL specification includes default scalar types Int, Float, String, Boolean, and ID.Although these scalars cover the majority of use cases, some applications need to support other atomic data types (such as Date) or add validation to an existing type.To enable this, you can define custom scalar types.

4. Text link: Custom scalars and enums | GraphQL Tools

Domain: www.graphql-tools.com

Link: https://www.graphql-tools.com/docs/scalars/

Description: An Enum is similar to a scalar type, but it can only be one of several values defined in the schema. Enums are most useful in a situation where you need the user to pick from a prescribed list of options, and they will auto-complete in tools like GraphiQL. In the schema language, an enum looks like this:

5. Text link: Resolvers | GraphQL Tools

Domain: www.graphql-tools.com

Link: https://www.graphql-tools.com/docs/resolvers/

Description: These arguments have the following meanings and conventional names: obj: The object that contains the result returned from the resolver on the parent field, or, in the case of a top-level Query field, the rootValue passed from the server configuration.This argument enables the nested nature of GraphQL queries. args: An object with the arguments passed into the field in the query.

6. Text link: Enums · TypeGraphQL

Domain: typegraphql.com

Link: https://typegraphql.com/docs/enums.html

Description: GraphQL also has enum type support, so TypeGraphQL allows us to use TypeScript enums in our GraphQL schema. Creating enum. Let's create a TypeScript enum. It can be a numeric or string enum - the internal values of enums are taken from the enum definition values and the public names taken from the enum keys:

7. Text link: How to Query Enums with GraphQL using Introspection - DEV ...

Domain: dev.to

Link: https://dev.to/novvum/how-to-query-enums-with-graphql-using-introspection-25e

Description: To query the enums you need to use the __Type query resolver. Using __Type For this example, I will be using an enum that stores the names of 7 universities. ‍ ‍ Here’s how to query this enum: ‍ ‍ The __type query resolver requires the name parameter. This parameter allows you to search your schema for items such as objects and enums ...

8. Text link: visitArgumentDefinition of SchemaDirectiveVisitor is never ...

Domain: github.com

Link: https://github.com/apollographql/apollo-server/issues/4810

Description: The Problem. Below is the code of a super simple apollo server (you can also refer to the codesandbox with the link all the way down below) The TrimDirective class contains the method visitArgumentDefinition.This method is called if we don't have the enum resolver.

Load more (8)