absinthe_tutorial
absinthe_tutorial copied to clipboard
Absinthe v1.4 Tutorial Code
This tutorial needs to be updated so that it compiles, and preferentially without warnings about depricated means being used in the actual tutorial. I am more than willing to try...
Upgraded the packages to their current newest version. I seeded the DB and ran some mutations and queries and they all seemed to work.
Started the tutorial doc fixes.
Added a little walkthrough on setting up subscriptions ## Changes 1. Add `absinthe_phoenix` as a dep 2. Configure subscriptions supervisor 3. Add the Absinthe.Endpoint 4. Add schema connection to Socket...
## Fix transaction in `Blog.Accounts.create_user/1` If `Blog.Accounts.create_user/1` is provided with data which doesn't pass the validations in `Blog.Account.{User,Contact}.changeset/2`, the lambda function passed to `Ecto.Repo.transaction/2` will return `{error, %Ecto.Changeset{valid?: false}}`. This...
Moving from Postgres to SQLite removes a system dependency and allows one to setup a working environment faster.
thanks for this awesome tuts , but when run query on my local env, i can not get the author info from the `posts` query   i guess this...
try to fix #4
Some things to note about this: - I definitely want to make this easier for folks, in that they shouldn't need to copy a ~100 line file into their project...