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

Implement nested data map in process and change process map structure #1540

Merged
merged 9 commits into from
Dec 11, 2019

Conversation

krhubert
Copy link
Contributor

@krhubert krhubert commented Nov 29, 2019

dep #1536
close #1304

Changes in process.proto:

  • add MapOutput and ListOutput messages in the Map.Output
  • Remove Map.Output.Key (not every output has a key, for example array do not have)
  • change repeated Output outputs to map<string, Output> outputs

Those changes are required to implement both object and array. Doing only NestedObject as @NicolasMahe suggested is not engouth to implement array type. I don't see any other way to do that.

Missing:

  • manual and e2e tests.

@NicolasMahe
Copy link
Member

NicolasMahe commented Dec 4, 2019

TODO:

  • fix current e2e tests
  • add e2e tests with nested data on map

@NicolasMahe NicolasMahe added this to the next milestone Dec 4, 2019
@NicolasMahe NicolasMahe changed the title Feature/nested data Implement nested data on process map Dec 4, 2019
Copy link
Member

@NicolasMahe NicolasMahe left a comment

Choose a reason for hiding this comment

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

except this comment #1540 (comment) i'm good with this PR :)

protobuf/types/process.proto Outdated Show resolved Hide resolved
Nicolas Mahé and others added 2 commits December 11, 2019 17:10
…unction to Process_Node_Map to convert map to key value. Add amino unsafe flag to map's double_const parameter.
@antho1404 antho1404 merged commit f6b105e into dev Dec 11, 2019
@antho1404 antho1404 deleted the feature/nested-data branch December 11, 2019 11:59
@NicolasMahe NicolasMahe changed the title Implement nested data on process map Implement nested data map on process Dec 13, 2019
@NicolasMahe NicolasMahe changed the title Implement nested data map on process Implement nested data map in process Dec 13, 2019
@NicolasMahe NicolasMahe changed the title Implement nested data map in process Implement nested data map in process and change process map structure. Dec 13, 2019
@NicolasMahe NicolasMahe changed the title Implement nested data map in process and change process map structure. Implement nested data map in process and change process map structure Dec 23, 2019
@NicolasMahe NicolasMahe mentioned this pull request Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support nested mapping for the process
3 participants