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.

CLI tool for DataStore?

See original GitHub issue

Feature Request

Is your feature request related to a problem? Please describe. We need Model types to be created for use with DataStore. See #505

Describe the solution you’d like A tool to generate resources required for DataStore. I believe that what we do in DataStore should have nothing to do with Graphback so if we are generating DataStore resources we should do it in offix and not worry about Graphback.

Describe alternatives you’ve considered Creating a plugin(Graphback or Graphql-codegen) to generate the resources instead of doing it in Offix.

What I’m saying is this, “Is the resource generation a feature of DataStore?” If yes, the resources required by Offix DataStore should be generated by an Offix DataStore CLI tool. What this means that no user is forced to use Graphback or GraphQL-codegen or some other codegen tool.

Also, there is talk about graphback-client. I understand the “graphback client” to be a plugin to generate client query documents. This function is not related to DataStore in any way that I know of, so, why move or modify the “graphback-client”?.

@wtrocki @kingsleyzissou

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
wtrockicommented, Jul 23, 2020

Yep. Codegen will not work here as it is designed to work with generic graphql clients. I think we can bring codegen only when we will have relationships investigation done. If you really want to do it now - check graphback client side generator. We can transform schema and replace relationships fields as we do there - but I do not think that is great idea.

CC @kingsleyzissou

1reaction
wtrockicommented, Jun 25, 2020

Nice! I think @kingsleyzissou were looking to play with the example app. I will review this now and we can look into reading feature branch and add the ability to test it with the offix sample app (it will require an update of graphback)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using the gcloud Tool to Test Applications and Manage Indexes
You can use the Google Cloud CLI to test your application locally and to manage indexes for your production Firestore in Datastore mode...
Read more >
nshmura/dsio: Command line tool for Google Cloud Datastore ...
dsio is a command line tool for Google Cloud Datastore. This tool is under development. Please use in your own risk. Features. Bulk...
Read more >
Datastore CLI reference guide - Squiz Help Center
The Datastore CLI tools provide the commands necessary to add your Datastore blueprint to your local simulator or upload the blueprint to Squiz...
Read more >
Datastore CLI | Offix
The Datastore CLI tool will generate JSON Schema files and types for your data models.
Read more >
ArcGIS Data Store command utility reference—ArcGIS ...
This utility is used with relational, tile cache, and spatiotemporal big data stores and graph stores. If you need to create a relational...
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