Is there a way we can define a virtual model in ecto. Which don’t have
migration file and
don't persist in the data base. I didn’t find any documentation related to that in Ecto docs. I need this to test some functions in the iex. To test with models separate from the rest of the app.
embedded schema which contain fields that don’t persist in the database but nothing related to the models.
Any help will be much appreciated.