-
Notifications
You must be signed in to change notification settings - Fork 494
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
Make SessionToken on QueryRequestOptions public #979
Merged
j82w
merged 11 commits into
Azure:master
from
dpgregory:QueryRequestOptions_SessionToken
Nov 22, 2019
Merged
Changes from 6 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
bbaa3f3
Make SessionToken on QueryRequestOptions public
b8890c4
Fix mocking for FeedIterator and Response classes (#978)
j82w 1b2abdb
Updating package (#975)
ealsur 98f3362
Update azure-pipelines-official.yml (#970)
ealsur 8bad560
Update changelog with 979
440eb22
Merge branch 'master' into QueryRequestOptions_SessionToken
dpgregory 8acea39
Move line in changelog to correct location
d1fa098
Remove added in change log to correct location
a65dcb1
Merge branch 'master' into QueryRequestOptions_SessionToken
dpgregory c55bf0d
Merge branch 'master' into QueryRequestOptions_SessionToken
j82w f3d6346
Merge branch 'master' into QueryRequestOptions_SessionToken
j82w File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Please add a note to the changelog
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.
I think I've done this now, let me know if it's not correct
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.
Even though this is made public we need to wire it through the query stack right?
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.
From my understanding this is already done on the line 164:
RequestOptions.SetSessionToken(request, this.SessionToken);
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.
Good point. I just want to make sure what the story will be. If a user does multiple point writes, then what session token will they send for the query?
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.
That's a good point but also a different question.
SessionToken would be same as what is used for any ReadItemAsync.
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.
Is there anything else I need to change, or are we all good now?
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.
Nope we are good to ship it. Thanks @dpgregory for your contributions.
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.
Great! No worries, it wasn't much!