Question: Types generation / provider for server side?

Open
#340 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
fsharp, graphql

Research direction

The issue asks whether server-side GraphQL types and corresponding Define.Object<_> declarations can be generated. Start by reviewing the existing server-side type-definition and schema APIs, then determine whether a schema-first generation path is already supported. Done should be a documented, agreed answer or a clearly scoped implementation plan.

Written by the indexing model from the issue text.

Description

Question

Is there a way to "generate" types for the server-side GraphQL API?

At a glance, it looks like types and their corresponding Define.Object<_> can be autogenerated.

Or do I look at the problem from the wrong angle? My intuition here is to be able to be "schema-first" for both server and client sides...

Dominant language
F#
Stars
406
Forks
74
Avg merge
1d 8h
Merged PRs (30d)
14

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from fsprojects/FSharp.Data.GraphQL

All issues in fsprojects/FSharp.Data.GraphQL

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.