Skip to content

Conversation

@jmarais
Copy link
Contributor

@jmarais jmarais commented Aug 18, 2019

Removed 'any' from generating a standard NewPopulated method and rather use a jsonpb friendly version. When you marshal with jsonpb it expects a registered proto message since it has to unmarshal it in order to format it in the 'any' json format. The new populated method just uses a random Duration wkt which is already in the same package.

… and rather use a jsonpb friendly version. when you marshal with jsonpb it expects a registered proto message since it has to unmarshal it in order to format it in the 'any' json format. The new populated method just uses a random Duration wkt which is already in the same package.
@jmarais jmarais force-pushed the anyjsontestgeneration branch from 3caab00 to f9065fe Compare August 18, 2019 19:32
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.

1 participant