-
Notifications
You must be signed in to change notification settings - Fork 6
Pin dependencies. #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hi @beauby, Will jsonapi-rb do something similar to padrino? |
|
@jnylen No worries. What do you mean by "similar to padrino"? (AFAIK padrino is a web framework, while jsonapi-rb is just a library to build JSON API documents – you can use both together.) |
|
@beauby, I.e.: http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Generators |
|
@jnylen Oh integrations, yeah, that's something I'm interested in, though my current efforts are focused on the base gems and jsonapi-rails. PRs welcome though :) |
|
I've just tried this branch with Hanami and although the initial error is fixed I get the following: |
|
@ArayB It seems you are attempting to serialize an instance of |
|
Well that's fairly embarrassing! That would be correct. |
|
No worries – I admit the documentation is a bit lacking. |
|
Once I created the serializer the controller responded with the json as expected. If I make some time I'll try and update some documentation around the serializer as well. |
Fixes #8.
/cc @jnylen – could you give this branch a try (with a
$ bundle updateto ensure the jsonapi-* deps are pinned to the right versions)?