Open Strech opened 1 month ago
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
put(key, value)
Avrora.Schema
https://github.com/Strech/avrora/blob/99e6942bb46d1d0f8fc32a7342bb07318daa78e4/lib/avrora/storage.ex#L9-L10
But here we are restricting it to binary
binary
https://github.com/Strech/avrora/blob/99e6942bb46d1d0f8fc32a7342bb07318daa78e4/lib/avrora/storage/registry.ex#L72
Somehow dialyzer misses that some storages accept types they are not supposed to.
Behavior for the value in
put(key, value)
defined value as anAvrora.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