How are you getting schema.json file?
See original GitHub issueI’d like to generate ts types for the server to use in resolvers but it needs to be running to introspect directly using --url
. I’d rather pull from schema.json, but I’m not sure how to generate it.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Getting Started Step-By-Step | JSON Schema
To start a schema definition, let's begin with a basic JSON schema. We start with four properties called keywords which are expressed as...
Read more >Tool to generate JSON schema from JSON data [closed]
GenSON (PyPI | Github) is a JSON Schema generator that can generate a single schema from multiple objects. You ...
Read more >JSON - Schema
JSON Schema is a specification for JSON based format for defining the structure of JSON data. It was written under IETF draft which...
Read more >JSON Schema Examples Tutorial
This JSON schema tutorial will walk through the basics of setting JSON schema standards and using schema for validation in MongoDB Atlas and...
Read more >Defining JSON Messages with JSON Schema
To begin creating a schema, add a JSON or JSON Schema file to your project. At the top of the file, you can...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
IIRC @dotansimha is planning to unify all the options under a
--schema
switch which may clear up some confusion.I am using ts and
--export
+--require
is working perfectly for me. Thanks!