Skip to content

firstOrFail returning a plain object instead of Model instance #1258

Answered by dschreij
dschreij asked this question in Help
Discussion options

You must be logged in to vote

It seems to be fixed by upgrading to Lucid v6, but I am really confused which versions of adonis' subpackages are compatible now. I was under the assumption that Lucid v6 or even v5 would only work with Adonis v5, while I am still on v4, but this appears not to be the case. Is it safe to upgrade most internal dependencies of Adonis?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fnoquiq
Comment options

@dschreij
Comment options

Answer selected by dschreij
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants