Skip to content

feat: Changes in generated code#122

Merged
nickfloyd merged 2 commits intomainfrom
generated-code-update-dotcom
Oct 30, 2024
Merged

feat: Changes in generated code#122
nickfloyd merged 2 commits intomainfrom
generated-code-update-dotcom

Conversation

@octokitbot
Copy link
Collaborator

The latest OpenAPI spec resulted in changes to the generated code. Please review, set an applicable commit message, merge, and tag a release as appropriate.

@what-the-diff
Copy link

what-the-diff bot commented Oct 26, 2024

PR Summary

  • Simplification of Code Structure
    The description of repository and user data in our code has been simplified. The previous structure used to describe these types of data (PullRequest_base_repoable, PullRequest_base_userable, PullRequest_head_repoable, PullRequest_head_userable) has been replaced with more straightforward ones (Repositoryable, SimpleUserable). The means to extract information (get) from these types, as well as the process of constructing them, has also been adjusted to this simpler format.

  • Removal of Unused Files
    Two files, PullRequest_base_repo_permissions.go and PullRequest_head_repo_license.go, that were part of the previous, complicated structure have been removed as they are no longer used.

  • Scope Setting Improvements
    In the handling of requests, a new feature is introduced - a scope that includes everything except configurations, represented by the constant ALL_WITHOUT_CONFIGURATIONS_ATTACHPOSTREQUESTBODY_SCOPE.

  • Parser Enhancement
    The parser, which is a utility to understand and extract information from requests, has been updated to handle this new scope.

  • Updated Documentation
    Commentary within the code has been enhanced to include crucial information about fine-graned tokens and their relation to viewing private events and repositories. This provides a clearer understanding for future code handling and bug tracing.

@nickfloyd nickfloyd changed the title Changes in generated code feat: Changes in generated code Oct 30, 2024
@nickfloyd nickfloyd merged commit 89e3e56 into main Oct 30, 2024
@nickfloyd nickfloyd deleted the generated-code-update-dotcom branch October 30, 2024 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants