:mnesia.table() and :mnesia.create_option() types not recognized

Hello Elixirs :wave:

I am not being able to get rid of this Dialyzer error


lib/collector/feed.ex:78:unknown_type
Unknown type: :mnesia.create_option/0.
________________________________________________________________________________
lib/collector/feed.ex:78:unknown_type
Unknown type: :mnesia.table/0.

Do I need to import Mnesia in my mix.exs in order to use them?

If it is the case, I would appreciate some help :slight_smile:

Thank you!!

Link to Mnesia types

1 Like

Try adding

dialyzer: [
        plt_add_apps: [:mnesia]
      ]

in the project settings of mix.exs.

1 Like

Thank you!!!, I haven’t had too much time this week but I will try it this weekend