Open gusverdywid opened 3 years ago
Hi @verdywid, Thanks for the report. The team is currently trying to fix this specific painful conflict.
For your information, we have a similar topic opened in our Community forum: https://community.forestadmin.com/t/error-just-after-installing-forest/1801/13
HI , can you fix this issue asap if possible.. i am also getting same issue.
Hi @sruchi123, As explained in my previous message, our team is currently investigating and trying to patch the package to prevent this issue in the future.
Expected behavior
It plays well with any json serializer library. Mine is https://github.com/jsonapi-serializer/jsonapi-serializer
Actual behavior
It does not play well with jsonapi-serializer.
Failure Logs
Context
It is a fresh install of rails and I use
jsonapi-serializer
(https://github.com/jsonapi-serializer/jsonapi-serializer) which was originally by Netflix. After having a look deeper, I found out that one of the gem used byforest_liana
(jsonapi-serializers
/ https://github.com/fotinakis/jsonapi-serializers) has a conflicting code with the code byjsonapi-serializer
(without the S at the end). It seems thejsonapi-serializers
does not the same module name as its library name hence the conflict. See below.The
Error
module by thejsonapi-serializer
The
Error
module by thejsonapi-seraliazers
The
jsonapi-serializers
should have used a the same name with their library name or at least prefixed the module name