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

feat: run the generator – fewer oneOf types, 12/07/2020 #54

Merged
merged 2 commits into from Dec 14, 2020

Conversation

grant
Copy link
Contributor

@grant grant commented Dec 7, 2020

Runs the generator.

This update should include:

  • changes from the simpler union types in JSON schema
  • uniform event type descriptions

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
@grant grant self-assigned this Dec 7, 2020
@grant grant requested a review from a team as a code owner December 7, 2020 22:27
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Dec 7, 2020
@product-auto-label product-auto-label bot added the api: eventarc Issues related to the googleapis/google-cloudevents-java API. label Dec 7, 2020
Copy link

@jskeet jskeet left a comment

Choose a reason for hiding this comment

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

Happy for this to be merged as the current generator results, but I'm really concerned about the types here.

@@ -23,7 +23,7 @@
*/
public class StepTimeout {
Copy link

Choose a reason for hiding this comment

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

If we get a new class every time a google.protobuf.Duration is used, that's going to be a terrible user experience.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Started an email thread to talk about this concern.

Signed-off-by: Grant Timmerman <timmerman+devrel@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: eventarc Issues related to the googleapis/google-cloudevents-java API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants