Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure a local only datastore #6593

Open
ghost opened this issue Aug 17, 2020 · 0 comments
Open

Configure a local only datastore #6593

ghost opened this issue Aug 17, 2020 · 0 comments
Labels
DataStore Related to DataStore category feature-request Request a new feature

Comments

@ghost
Copy link

ghost commented Aug 17, 2020

Is your feature request related to a problem? Please describe.
I would like to use datastore to store my local application's state as well as sync with my GraphQL backend. It would be great to be able to set a directive that specifies the datastore should be used only locally.

Describe the solution you'd like
It would be great to be able to set a directive that specifies whether the datastore is saved locally only or whether it is synced in the backend.

type Company @LocalModel
@key(fields: ["tenant", "createdAt"])
{
    tenant: String!
    createdAt: String!
    name: String!
    sector: String
}

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context, an idea of the implementation or screenshots about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DataStore Related to DataStore category feature-request Request a new feature
Projects
None yet
Development

No branches or pull requests

1 participant