View Source Sqids.Hacks (sqids v0.1.2)

Workarounds

Summary

Functions

Function to work around Dialyzer warnings on violating type opacity when Sqids context is placed in a module attribute, since it becomes "hardcoded" from Dialyzer's point of view.

Functions

Link to this function

dialyzed_ctx(sqids)

View Source (since 0.1.2)
@spec dialyzed_ctx(term()) :: Sqids.t()

Function to work around Dialyzer warnings on violating type opacity when Sqids context is placed in a module attribute, since it becomes "hardcoded" from Dialyzer's point of view.