ui/docs/serializers-adapters.md
_getUrlexport default class SomeSerializer extends ApplicationSerializer {
attrs = {
attrName: { serialize: false },
};
}
Note: this will remove the attribute when calling
snapshot.serialize()even if the method is called within the serialize method where custom logic may be written