I’ve got a branch in Absinthe that conditionally uses the
:persisten_term module if it’s available. Unfortunately this is causing me issues with dialyzer, for reasons I can’t quite sort out. I’d like to do one of two things:
- Figure out why dialyzer things
:persistent_term.put/2is unavailable on OTP 21.2. This would be the best option.
- If that fails, mark the function as
nowarn. I’ve tried this, but I can’t seem to get the invocation correct.
Failing Travis job: https://travis-ci.org/github/absinthe-graphql/absinthe/jobs/668979055?utm_medium=notification&utm_source=github_status
Line where I try to tell dialyzer to ignore stuff: https://github.com/absinthe-graphql/absinthe/pull/895/files#diff-84866da0b679965d8a1826c4dc1665e6R63