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

Use Union as datatype for queries #158

Open
2 tasks
Mark-Niemeyer opened this issue Aug 22, 2022 · 0 comments
Open
2 tasks

Use Union as datatype for queries #158

Mark-Niemeyer opened this issue Aug 22, 2022 · 0 comments
Labels
api Related to the API: interface for data manipulation / query flatbuffer protobuf

Comments

@Mark-Niemeyer
Copy link
Member

Use Union as the return type of queries. Use this to deduplicate the datatype specific gRPC services. The service "getData" should be the same for all datatypes using union as return type.

  • extend query by an enum field "datatype"
  • use the data type union for all the common gRPC services
@Mark-Niemeyer Mark-Niemeyer added api Related to the API: interface for data manipulation / query protobuf flatbuffer labels Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Related to the API: interface for data manipulation / query flatbuffer protobuf
Projects
None yet
Development

No branches or pull requests

1 participant