-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(IItem): make id and owner the only required properties of IItem #184
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nvm, I agree w/ travis on this one - can't make id
required b/c when you're adding items you don't have one of those.
whoops. i didn't see any errors locally because i didn't run once everyone's happy i'll rebase and reword the commitizen message. |
Good idea @noahmulfinger - I suggest something like |
Agreed. a perfect example of why is it ignores i've tacked on another commit which includes the value in the decision tree (with more precedence than either of the other two sources).
|
after chatting w/ @tomwayson briefly i'm convinced that the correct order of precedence is
i did a little manual testing and confirmed that regardless of whether |
ready for re-review (ideally from @tomwayson) |
AFFECTS PACKAGES: @esri/arcgis-rest-common-types ISSUES CLOSED: #171
previously we looked to an explicit owner constructor option and authentication.owner only AFFECTS PACKAGES: @esri/arcgis-rest-items 💅 doc improvements
@@ -34,10 +34,6 @@ export interface IItemJsonDataRequestOptions extends IItemIdRequestOptions { | |||
* JSON object to store | |||
*/ | |||
data: any; | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed a duplicate property present in the interface being extended.
AFFECTS PACKAGES:
@esri/arcgis-rest-common-types
ISSUES CLOSED: #171