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

theme_object: type #13

Open
PaulieScanlon opened this issue Mar 29, 2020 · 0 comments
Open

theme_object: type #13

PaulieScanlon opened this issue Mar 29, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@PaulieScanlon
Copy link
Owner

PaulieScanlon commented Mar 29, 2020

Currently the theme_object GraphQL response type is typed as a string... it should be an object

  type ThemeObject {
    ...
    theme_object: String
  }

functions/apollo-graphql/apollo-graphql

but... this object shape may change so ideally for now i'd like to type it as an object but to not define the keys.

I haven't tried this but it might work:
https://www.npmjs.com/package/graphql-any-type

@PaulieScanlon PaulieScanlon self-assigned this Mar 29, 2020
@PaulieScanlon PaulieScanlon added the enhancement New feature or request label Mar 29, 2020
@PaulieScanlon PaulieScanlon changed the title theme_object type theme_object: type Mar 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant