View Source Sqids.Hacks (sqids v0.2.1)

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

dialyzed_ctx(sqids)

(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.