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

Reverse lookup readside handler #344

Open
AntonioYuen opened this issue May 12, 2021 · 0 comments
Open

Reverse lookup readside handler #344

AntonioYuen opened this issue May 12, 2021 · 0 comments

Comments

@AntonioYuen
Copy link
Contributor

Is your feature request related to a problem? Please describe.
It is very common to create readsides that are purely reverse lookups. Given, the event and state returns a string, we should be able to automate it.

Describe the solution you'd like

  1. RPC called CreateReverseLookup(event, state, meta) and returns List((K, V)) pairs where Key is the field_name.
  2. Akka projection that runs CreateReverseLookup
  3. RPC for searching for entityId by reverse lookup (K, V) pair.

Maybe we will make a solution for multi-key lookups.

Describe alternatives you've considered
N/A

Additional context
It is a common use case to want to offer reverse lookups for entities.

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