Skip to content

Clean up Client variables - #419

Merged
madsmtm merged 8 commits into
masterfrom
remove-client-variables
Apr 25, 2019
Merged

Clean up Client variables#419
madsmtm merged 8 commits into
masterfrom
remove-client-variables

Conversation

@madsmtm

@madsmtmmadsmtm commented Apr 17, 2019

Copy link
Copy Markdown
Member

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.

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
@madsmtmmadsmtm self-assigned this Apr 17, 2019
@madsmtm
madsmtm changed the base branch from refactor-model-parsing to masterApril 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 masterApr 25, 2019
@madsmtm
madsmtm deleted the remove-client-variables branch May 8, 2019 16:42
@madsmtmmadsmtm mentioned this pull request Jun 23, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@madsmtm