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

Data-source directives #17

Open
wwwy3y3 opened this issue Dec 5, 2018 · 0 comments
Open

Data-source directives #17

wwwy3y3 opened this issue Dec 5, 2018 · 0 comments
Milestone

Comments

@wwwy3y3
Copy link
Contributor

wwwy3y3 commented Dec 5, 2018

Goal

  • DataSource instance can understand directives in datamodel

Use case

@firebase_map

type user @GQLifyModel {
  tags: [String!]! @firebase_map(value: true)
}

It will save tags in Map<string, boolean> instead of string[]

@wwwy3y3 wwwy3y3 added this to the Beta milestone Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant