You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 6, 2024. It is now read-only.
In _do_load, the included_data member defaults to a dict. However, it is iterated as a list inside _extract_from_included which would be correct. This works if the payload is an array or undefined, because then _extract_from_included will either iterate the list or iterate the keys of an empty dict.
In render_included_data, the included_data member is expected to have a values method (i.e. dict-like).
The reason I think this has been working so far is because most people are not deserialising payloads with 'included' data. This is because the current spec has no provision for compound document requests (but there are some in draft), only responses.
The spec clearly states the the top-level included member is an array. It should be treated as a list everywhere.