question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How are you getting schema.json file?

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jonaskellocommented, Apr 4, 2018

IIRC @dotansimha is planning to unify all the options under a --schema switch which may clear up some confusion.

0reactions
sundeercommented, Apr 4, 2018

I am using ts and --export + --require is working perfectly for me. Thanks!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found