You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
findAll() should be redeclared to return Streamable
Inventory should declare a streamAll() to also return a Streamable<InventoryItem<?>> for composability of results from UniqueInventory and MultiInventoryItem
The text was updated successfully, but these errors were encountered:
Introduced SalespointRepository to consistently override CrudRepository.findAll() to return a Streamable<T>. Inventory also got a Streamable<InventoryItem<?>> streamAll() returning the common super type for easy composability via Streamable.and(…) in case results from both UniqueInventory and MultiInventory.
Updated all client services to avoid re-wrapping into a Streamable that was necessary before.
findAll()
should be redeclared to returnStreamable
Inventory
should declare astreamAll()
to also return aStreamable<InventoryItem<?>>
for composability of results fromUniqueInventory
andMultiInventoryItem
The text was updated successfully, but these errors were encountered: