jsonapi-serializer
jsonapi-serializer copied to clipboard
Don't set included.relationships if empty
empty object ({}) is added to included.relationships when multiple identical references exist in the dataset
I believe I've run into this problem as well. This looks like a useful fix to me.