Giter VIP home page Giter VIP logo

Comments (2)

danielberkompas avatar danielberkompas commented on May 26, 2024

I'd check test/support/accounts_factory.ex:40 and see what the code is attempting to do.

The key seems to be:

Please make sure the value you are passing matches the definition in your table or in your query or convert the value accordingly.

It seems like one of the primary keys or foreign keys that's being passed is still registered on the schema struct as an integer.

from authority_ecto.

juddey avatar juddey commented on May 26, 2024

Hey Daniel, thanks for coming back to me.

I did investigate the accounts_factory like you suggested (iirc that called a create_user function, which then went into this module), but after a couple of hours of looking at it I couldn't nut it out.

In the end I've decided to just go with a non-umbrella app to reduce the complexity - its only my second elixir project after all.

I'll close this out now, but I'll still be following what you at infinite red are doing with elixir - keep up the good work 😄

from authority_ecto.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.