Closed syntaxTerr0r closed 8 years ago
I am not sure what the "official" implementation should look like, but I would start by writing some failing specs against master here.
@dblock: I can do that for sure :)
I updated my PR with a solution I suggest. Inconvenient: this is a breaking change for Grape's users that already have declared one or more versions. They shall add namespace to their existing serializers.
Hi,
I have a versioned API with versioned Serializers. Here is my tree:
I had to monkey patch this gem like in the following code to make it supports the ActiveModelSerializer feature that allow it to look for namespaced Serializers, please see comments in the patch below.
My question is: what is the best way to properly add this feature to the gem?