Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Message wrapping #65

Merged
merged 12 commits into from
Apr 13, 2025
Merged

Message wrapping #65

merged 12 commits into from
Apr 13, 2025

Conversation

AdrienVannson
Copy link
Contributor

No description provided.

@AdrienVannson AdrienVannson requested a review from Copilot April 13, 2025 20:55
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • src/betterproto2_compiler/templates/header.py.j2: Language not supported
Comments suppressed due to low confidence (1)

src/betterproto2_compiler/plugin/models.py:338

  • The 'field_wraps' property has been removed from the diff, which might break external references if it is used anywhere outside this file. Please verify that all dependencies on this property have been updated to use the new wrapping logic.
def field_wraps(self) -> str | None:

casing: betterproto2.Casing = betterproto2.Casing.CAMEL,
include_default_values: bool = False,
) -> dict[str, typing.Any] | typing.Any:
# If the output format is PYTHON, we should have kept the wraped type without building the real class
Copy link
Preview

Copilot AI Apr 13, 2025

Choose a reason for hiding this comment

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

There is a spelling error: 'wraped' should be corrected to 'wrapped'.

Suggested change
# If the output format is PYTHON, we should have kept the wraped type without building the real class
# If the output format is PYTHON, we should have kept the wrapped type without building the real class

Copilot uses AI. Check for mistakes.

@AdrienVannson AdrienVannson merged commit d1e438b into main Apr 13, 2025
15 of 16 checks passed
@AdrienVannson AdrienVannson deleted the message-wrapping branch April 13, 2025 21:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant