@varblob What Serializer are you using? It sounds like you have a keyForRelationship defined somewhere that is causing your measure relationship to be serialized as measureId.
@bmac I’m using DS.ActiveModelSerializer and I think you’re correct. I’ll dig down that path. Thanks for the pointer.
…
Ok I dug through and the responsibility lies with ActiveModelSerializer. That said ActiveModelSerializer is providing a reasonable key and this seems like a ?reasonable? use case as well. Am I using ActiveModelSerializer wrong?
In case anyone else thinks of monkey patching this to work BEWARE it causes the loading of the belongs to record to get mucked up Recursive Sideloading
I really do wish I knew the correct way to accomplish this task. My current solution is to create a new record with just the ID on it and store that but it seems pretty wrong, not to mention it will probably break something else later.