Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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

#50

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?

Reported by Guilherme Silveira · April 29th, 2010 @ 02:18 PM

State: invalid
Milestone: v0.8
Assigned to: Guilherme Silveira Guilherme Silveira

Activity

  1. Guilherme Silveira
    Guilherme Silveira
    • 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.

    May 19th, 2010 @ 02:30 PM

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.