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

Various small fixes #573

Merged
merged 3 commits into from Feb 28, 2022
Merged

Various small fixes #573

merged 3 commits into from Feb 28, 2022

Conversation

mattklein123
Copy link
Contributor

  1. Fix regression from
    Fix enum import in repeated field #529. The
    code needs to handle enums at file scope and in a message. At the
    same time also handle arbitrary nesting.
  2. Fix regression from Feature/add optional support #537
    when dealing with single element string oneofs (and possibly other
    types being returned as pointer types vs. value types and breaking in
    queries. This fixes that for both C++ and Go. It's possible this fix
    shoudl be in PG* but doing it here for simplicity.
  3. Modify the C++ validator registry to have polymorphic lookup
    capability which I want to use in Envoy.

Signed-off-by: Matt Klein mklein@lyft.com

1) Fix regression from
   #529. The
   code needs to handle enums at file scope and in a message. At the
   same time also handle arbitrary nesting.
2) Fix regression from #537
   when dealing with single element string oneofs (and possibly other
   types being returned as pointer types vs. value types and breaking in
   queries. This fixes that for both C++ and Go. It's possible this fix
   shoudl be in PG* but doing it here for simplicity.
3) Modify the C++ validator registry to have polymorphic lookup
   capability which I want to use in Envoy.

Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Contributor Author

Oops just saw this. #567 @daemonl

Matt Klein added 2 commits February 26, 2022 16:52
fix
Signed-off-by: Matt Klein <mklein@lyft.com>
fix
Signed-off-by: Matt Klein <mklein@lyft.com>
@mattklein123
Copy link
Contributor Author

@rodaine I think this should be ready, thanks.

Copy link
Member

@rodaine rodaine left a comment

Choose a reason for hiding this comment

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

Thanks, Matt!

@rodaine rodaine merged commit 3898097 into main Feb 28, 2022
@rodaine rodaine deleted the polymorphic_dispatch branch February 28, 2022 18:40
@upils
Copy link
Contributor

upils commented Mar 1, 2022

Hey @mattklein123, thanks for the fix on the enum import, and sorry for the regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants