#50 ✓invalid
Guilherme Silveira

restfulie does not treat all first level collection in the same way

Reported by Guilherme Silveira | April 29th, 2010 @ 02:18 PM | in v0.8

An atom feed answers to [] as an array would, but an xml and json unmarshalled representation does not. What to do in those cases? Both in xml and json, because of the lack of media type definition, one is unaware wether its a collection or single element. Should we deal with all items as both items and arrays?

Comments and changes to this ticket

  • Guilherme Silveira

    Guilherme Silveira May 19th, 2010 @ 02:30 PM

    • Milestone set to v0.8
    • State changed from “new” to “invalid”
    • Assigned user set to “Guilherme Silveira”

    Giving up this attempt. A client is bound to media type + relation names. We can not avoid requiring clients to check media type and its structure according to its data.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Pages