Jason Marshall
Jason Marshall
I'm trying to figure out a problem in a new ecosystem that I'm learning, that favors project generators over rolling your own. The likelihood that I can generate a minimalist...
Alright, I fixed the tests and added one that covers the problem: I expected code like in this commit: https://github.com/jdmarshall/ecto_issue/commit/02c6a3491f6e75668ff2b357ad164681afdc2a39 To pass this test: https://github.com/jdmarshall/ecto_issue/commit/00cf9f79e2a07ce6a3eaa861d0c60dc096090ef2 I should have some time...
I couldn't find any instructions on how to set up a bare elixir project for running ecto tests. After a couple hours of trying to sort it out, I just...
> You would make it so that only one side of the relationship has the foreign key. By the looks of your test, you want it to be Comment that...
In a wiki, or a ticketing system: Artifact Latest snapshot List view: [Artifact{latest: {…}}] Or [Artifact[latest: {…}] where latest.assignee == user_id and latest.status == :in_progress I have two apps I’m...
The problem seems to be that Ecto is looking for a unary relationship instead of a potential list. But I'm not sure where that exactly is because the code that...
I'm using something like your first example now, but I had to get tricky with the unit tests that phx.gen.schema creates by default. Because now the create_fixture calls come back...
Some of my livecomponents unfortunately(?) have navigation in them. If I were trying to unit test them, which I also would very much like to do, I think what I'd...
I’m getting a very different error but the same result. Can’t run my tests in webstorm. App just gives no output at all.
Correction: Cannot run the tests in Erlang 27, but can with elixir-1.18 w/ erl 26.latest. However, cannot run the debugger in either and I'm getting to the point where IO.inspect()...