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

Combining submission queries #923

Open
markpatton opened this issue May 13, 2019 · 0 comments
Open

Combining submission queries #923

markpatton opened this issue May 13, 2019 · 0 comments

Comments

@markpatton
Copy link
Contributor

markpatton commented May 13, 2019

The submission details route does a bunch of queries for different types of objects, but all with the same query term. All of the data can be retrieved in one Elasticsearch query, but Store.query is defined to return one type. Could we take advantage of polymorphism to return multiple types? Or would a new service need to be defined?

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

2 participants