Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Port component/command diff storage/deserializer generators #1251

Merged
merged 3 commits into from
Jan 22, 2020

Conversation

paulbalaji
Copy link
Contributor

Description

ported

  • component diff storage generator
  • component diff deserializer generator
  • command diff storage generator
  • command diff deserializer generator

Tests

see generated code

Documentation

will add changelog entry in final core port pr

Primary reviewers

If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

@improbable-prow-robot improbable-prow-robot added the jira/no-ticket Indicates a PR has no corresponding JIRA ticket label Jan 20, 2020
@improbable-prow-robot improbable-prow-robot added A: core Area: Core GDK A: tooling Area: Tooling size/XXL Denotes a PR that changes 600+ lines, ignoring generated files. labels Jan 20, 2020
{
Logger.Trace($"Generating {qualifiedNamespace}.{componentName}.{command.CommandName}CommandsToSendStorage class.");

var requestType = $"{command.CommandName}.Request";
Copy link
Contributor

Choose a reason for hiding this comment

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

These can also go?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've left it in where we use it several times


foreach (var ev in eventDetailsList)
{
var eventType = $"{ev.EventName}.Event";
Copy link
Contributor

Choose a reason for hiding this comment

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

I've seen this so often now, it should probably be a property on the ev type

Copy link
Contributor Author

Choose a reason for hiding this comment

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

indeed - it should be :)

@paulbalaji paulbalaji force-pushed the feature/port-core-part-3 branch from 8afaf46 to 81a6366 Compare January 22, 2020 12:23
@paulbalaji paulbalaji merged commit 68280a6 into develop Jan 22, 2020
@paulbalaji paulbalaji deleted the feature/port-core-part-3 branch January 22, 2020 15:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: core Area: Core GDK A: tooling Area: Tooling jira/no-ticket Indicates a PR has no corresponding JIRA ticket size/XXL Denotes a PR that changes 600+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants