Open danieldocki opened 3 years ago
Having the same issue on my end
@tiagopog Will you be updating this gem? It would be really helpful to know as we want to use it...
@asadakbarml Yes, I will. I have been going through a tough year here, but I still have plans to keep it updated.
@danieldocki It's updated in the master branch. I will first make sure that everything is working smoothly then I will release a new version of the gem.
Thanks for the great job, but I caught this error.
Internal Server Error: uninitialized constant JSONAPI::OperationResults Internal Server Error: uninitialized constant JSONAPI::OperationResults /Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:103:in `build_response_document'
/Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/formatters.rb:39:in `jsonapi_format'
/Users/danieldocki/.gem/bundler/gems/jsonapi-utils-1c139822a10e/lib/jsonapi/utils/response/renders.rb:34:in `jsonapi_render'
I don't know if anyone else caught this error, but over the weekend I can look deeper into this error.
It seems that this PR https://github.com/cerebris/jsonapi-resources/pull/946, changed some things and removed JSONAPI::OperationResults.
This is pretty important to keep the library updated and allow everyone using it to update rails, how can we update this?
Also the main library now is at 0.10.2
with a lot of fixes :(
I see these:
But If I try to update I get this:
Bundler could not find compatible versions for gem "jsonapi-resources":
In Gemfile:
jsonapi-resources (= 0.10.5)
jsonapi-utils (= 0.7.3) was resolved to 0.7.3, which depends on
jsonapi-resources (= 0.9.11)
Any news on this? I am having trouble using jsonapi-resources at version 0.10 and jsonapi-utils 0.4.2 because it is the only version that bundle allows to install
it seems that this gem is no longer maintained. anyone here had the chance to refactor the code to use another solution? For example, to use jsonapi-serializer ?
It is already updated, but it is not released on gem repository, check:
@tiagopog can update the dependency? jsonapi-resources ~> 0.9.12
solves the error in Rails 6.1
https://github.com/cerebris/jsonapi-resources/blob/v0.9.12/lib/jsonapi/resource_controller_metal.rb#L8