Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
const { String: { underscore } } = Ember;
export default JSONAPISerializer.extend({
// Keep Drupal underscored keys.
keyForRelationship(key) {
return underscore(key);
keyForAttribute(key) {
return underscore(key);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment