Skip to content
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

Clean up Client variables #419

Merged
merged 8 commits into from
Apr 25, 2019
Merged

Clean up Client variables #419

merged 8 commits into from
Apr 25, 2019

Conversation

madsmtm
Copy link
Member

@madsmtm madsmtm commented Apr 17, 2019

Builds upon #406

A lot of changes to the variables in Client:

Privatized:

  • default_thread_id
  • default_thread_type
  • client_id
  • fb_h
  • seq
  • req_counter
  • payloadDefault
  • pool
  • sticky

Removed:

  • client
  • user_channel
  • start_time
  • ttstamp
  • fb_dtsg
  • email
  • password

So now the following variables remain:

So overall, this is a breaking change, but it only changes undocumented variables, so I'll just bump the minor version number.

madsmtm added 8 commits April 17, 2019 23:18
These are sparsely used and badly named, so probably not externally depended on externally
We have a setter method for them, so there should be no need to access these directly!
Modifying `uid` was previously documented as giving undefined behaviour, now it'll throw an error
These have complicated semantics, and so are hopefully not depended on externally
These have complicated semantics, and so are hopefully not depended on externally
@madsmtm madsmtm self-assigned this Apr 17, 2019
@madsmtm madsmtm changed the base branch from refactor-model-parsing to master April 25, 2019 19:06
@madsmtm madsmtm marked this pull request as ready for review April 25, 2019 19:07
@madsmtm madsmtm merged commit f945fa8 into master Apr 25, 2019
@madsmtm madsmtm deleted the remove-client-variables branch May 8, 2019 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant