avrora icon indicating copy to clipboard operation
avrora copied to clipboard

Drifting Avrora.Storage behavior implementations

Open Strech opened this issue 1 year ago • 0 comments

Somehow dialyzer misses that some storages accept types they are not supposed to.

Behavior for the value in put(key, value) defined value as an Avrora.Schema

https://github.com/Strech/avrora/blob/99e6942bb46d1d0f8fc32a7342bb07318daa78e4/lib/avrora/storage.ex#L9-L10

But here we are restricting it to binary

https://github.com/Strech/avrora/blob/99e6942bb46d1d0f8fc32a7342bb07318daa78e4/lib/avrora/storage/registry.ex#L72

Strech avatar Aug 08 '24 19:08 Strech