Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Please ensure referential consistency for source uuid #17

Closed
ntoll opened this issue Sep 17, 2018 · 0 comments
Closed

Please ensure referential consistency for source uuid #17

ntoll opened this issue Sep 17, 2018 · 0 comments

Comments

@ntoll
Copy link
Contributor

ntoll commented Sep 17, 2018

Hi,

Submission objects have the attribute, source_url which contains the uuid of the parent source as the final item in a path.

Reply objects also have the same attribute, source_url containing the uuid of the parent source as part of a path. However, the Reply object also has the attribute source_uuid.

Please, when there is some notion of a foreign-key like reference to another object via a path can the class also include an attribute to that named uuid (e.g. source_uuid). It just makes things neat, consistent and we know that it's the SDK that's containing the logic to transform the raw URL into the associated uuid.

Thanks (PR coming soon). :-)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant