{"action":"created","issue":{"url":"https://api.github.com/repos/marmelab/ng-admin/issues/1126","repository_url":"https://api.github.com/repos/marmelab/ng-admin","labels_url":"https://api.github.com/repos/marmelab/ng-admin/issues/1126/labels{/name}","comments_url":"https://api.github.com/repos/marmelab/ng-admin/issues/1126/comments","events_url":"https://api.github.com/repos/marmelab/ng-admin/issues/1126/events","html_url":"https://github.com/marmelab/ng-admin/issues/1126","id":160360166,"number":1126,"title":"How to avoid sending synthesised field to server on create?","user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-15T07:56:40Z","updated_at":"2016-06-22T18:57:17Z","closed_at":null,"body":"I'm using http://ng-admin-book.marmelab.com/doc/FAQ.html#how-can-i-map-twice-the-same-field-in-a-list\r\n\r\nHowever this extra field gets sent to the server on edit/create.\r\nThe server doesn't recognize the unknown key, and hence rejects the request.\r\n\r\nHow can I avoid sending the field?\r\nIs there a different/better solution to the one in the FAQ?"},"comment":{"url":"https://api.github.com/repos/marmelab/ng-admin/issues/comments/227843315","html_url":"https://github.com/marmelab/ng-admin/issues/1126#issuecomment-227843315","issue_url":"https://api.github.com/repos/marmelab/ng-admin/issues/1126","id":227843315,"user":{"login":"cfatt10","id":1126173,"avatar_url":"https://avatars.githubusercontent.com/u/1126173?v=3","gravatar_id":"","url":"https://api.github.com/users/cfatt10","html_url":"https://github.com/cfatt10","followers_url":"https://api.github.com/users/cfatt10/followers","following_url":"https://api.github.com/users/cfatt10/following{/other_user}","gists_url":"https://api.github.com/users/cfatt10/gists{/gist_id}","starred_url":"https://api.github.com/users/cfatt10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfatt10/subscriptions","organizations_url":"https://api.github.com/users/cfatt10/orgs","repos_url":"https://api.github.com/users/cfatt10/repos","events_url":"https://api.github.com/users/cfatt10/events{/privacy}","received_events_url":"https://api.github.com/users/cfatt10/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T18:57:17Z","updated_at":"2016-06-22T18:57:17Z","body":"In order to handle this, you can write a Restangular request interceptor that catches and deletes the unnecessary field."}}
{"actor":{"display_login":"cfatt10"}}