8000 Make root field transient in all classes by bitwiseman · Pull Request #1004 · hub4j/github-api · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Make root field transient in all classes #1004

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

Merged
merged 6 commits into from
Dec 29, 2020

Conversation

bitwiseman
Copy link
Member
@bitwiseman bitwiseman commented Dec 18, 2020

Description

The GitHub field present in many objects in this library should never be serialized.

This change doesn't perform the additional work of making all access to root through got through methods. That will be done in a future change.

Fixes #996

@lwx979458

Before submitting a PR:

We love getting PRs, but we hate asking people for the same basic changes every time.

  • Push your changes to a branch other than master. Create your PR from that branch.
  • Add JavaDocs and other comments
  • Write tests that run and pass in CI. See CONTRIBUTING.md for details on how to capture snapshot data.
  • Run mvn clean compile locally. This may reformat your code, commit those changes.
  • Run mvn -D enable-ci clean install site locally. If this command doesn't succeed, your change will not pass CI.

When creating a PR:

  • Fill in the "Description" above.
  • Enable "Allow edits from maintainers".

@bitwiseman bitwiseman requested a review from timja December 18, 2020 23:04
@timja timja added the bug label Dec 19, 2020
While still no recommended, these methods are more recommended than
users creating their own.  These will continue to work even when
internals change, whereas user configured readers or writers may not.
Copy link
Collaborator
@timja timja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

bitwiseman and others added 2 commits December 28, 2020 15:47
Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com>
@bitwiseman bitwiseman merged commit a585b49 into hub4j:master Dec 29, 2020
@bitwiseman bitwiseman deleted the object-base branch December 29, 2020 00:05
Sign up for free to 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.

Failed to convert JsonString.
2 participants
0