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

Improve PathInfo to link the field and messages involved #655

Open
coryan opened this issue Jan 9, 2025 · 0 comments
Open

Improve PathInfo to link the field and messages involved #655

coryan opened this issue Jan 9, 2025 · 0 comments
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. sidekick Issues related to the code generator type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@coryan
Copy link
Contributor

coryan commented Jan 9, 2025

In api.PathInfo we just name the fields used as variables. sidekick could link the fields (as a *api.Field) and messages involved. Recursively for variables with dot separated subfields (like field.subfield).

The codecs can use this information to create cleaner code.

Thanks to @dangazineu for this suggestion.

@coryan coryan added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p3 Desirable enhancement or fix. May not be included in next release. sidekick Issues related to the code generator labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p3 Desirable enhancement or fix. May not be included in next release. sidekick Issues related to the code generator type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

1 participant