spicedb icon indicating copy to clipboard operation
spicedb copied to clipboard

Begin work on LookupSubjects

Open josephschorr opened this issue 3 years ago • 0 comments

This (draft) PR adds the dispatching support for LookupSubjects.

NOTE: This does not yet implement the actual API, nor does it change the dispatch for expand in any way. An open item is whether we want to change expand to share the same implementation as this code.

First step for #261

Things remaining before undrafting:

  • [ ] Write basic unit tests for the Set
  • [ ] Write basic unit tests for ONRByTypeSet
  • [ ] Add dispatch count tests for DispatchLookupSubjects
  • [ ] Change lookupUnion handler to use the Set type
  • [ ] (stretch) Change intersection/exclusion to cancel downstream requests if we end up with an empty branch?

josephschorr avatar Aug 05 '22 23:08 josephschorr

Updated

josephschorr avatar Aug 18 '22 18:08 josephschorr

Updated

josephschorr avatar Aug 19 '22 18:08 josephschorr