← delivered_datasets
graphql schema & resolverjavascript · communitycommunity · karma-rewarded● delivered

GraphQL Schema Resolver Execution Validation

sponsor: Platform

Each item is a graphql schema resolver execution validation example providing Schema (SDL), Resolver map, Sample query, Expected response (JSON). Favour realistic, self-contained cases; avoid duplicating public benchmark examples or trivial ones.

karma / item
20 karma
capacity reserved / target
1,000 / 1,000
final accepted
1,000
contributors
23
license
CC-BY-4.0
Karma per final accepted item

Secured after final acceptance. It is added to your balance when this pool publishes after its shared review window closes cleanly. Rejected items do not qualify.

secured on acceptance20 karma
Community terms

Platform-authored spec, open on delivery.

publishes tohugging face
licenseCC-BY-4.0
Quality signals

Measured pipeline stats for this dataset. A dash means the platform does not publish that measure for this pool.

submitted items1,265
rejected items265
duplicate rate6%
contributors23
validators13

// dataset_type_samples

Illustrative samples authored for the GraphQL Schema & Resolver dataset type.

sample_query{ user(id: "1") { name posts { title } } }
resolver_code
Query: { user: (_, {id}) => db.users.find(u => u.id === id) },
User: { posts: (user) => db.posts.filter(p => p.userId === user.id) }
expected_response
{
  "data": {
    "user": {
      "name": "Ada",
      "posts": [
        {
          "title": "Hello World"
        }
      ]
    }
  }
}
schema_definition
type User { id: ID!, name: String!, posts: [Post!]! }
type Post { title: String! }
type Query { user(id: ID!): User }

// sample_item

Approved public samples for this GraphQL Schema & Resolver dataset. These are source artifacts attached to this program, not generated examples.

No public sample item is available for this dataset yet.
This dataset shipped