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

feature: Support multiple views #6

Open
JessicaMulein opened this issue Oct 4, 2023 · 0 comments
Open

feature: Support multiple views #6

JessicaMulein opened this issue Oct 4, 2023 · 0 comments

Comments

@JessicaMulein
Copy link
Contributor

JessicaMulein commented Oct 4, 2023

Leave the current view.json as the default view, support additional views

consider x.view.json and then be reachable on the API as /views/table/x with the excel then being in /views/table/x/excel

other possibility is modifying the view.json structure to support multiple views within it.
Currently view columns are under columns property- but could just as easily be nested under a separate property keyed by the view name with the columns to be queried underneath.

I think I like having fewer files, so extending view.json might be my preferred approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant