Hello, everyone.
I've been using ERRrest for developing, I`d like knowing if it's possible
to use custom fields instead of the default ones.
For example, on my model, there's a relationship named type, actually, I
have the following response:
phones": [
    {
      "countryCode": "1",
      "areaCode": "123",
      "number": "1234567",
      "type": {
        "id": [
          1,
          2
        ],
        "typeClass": "Tag",
        "value": "Home"
      }
    }
]

But I'd like to show something like:
phones": [
    {
      "countryCode": "1",
      "areaCode": "123",
      "number": "1234567",
      "type": "Home"
      }
    }
]

Is it possible to create a custom way to show this relationship as above?

Thank you!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to