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

fix(rhino): correct layers on create receive mode #2726

Merged
merged 5 commits into from
Jul 3, 2023

Conversation

clairekuang
Copy link
Member

@clairekuang clairekuang commented Jul 3, 2023

Description & motivation

Creates correct layers on create receive mode in Rhino: issue was being caused by the base commit layer not being created before other layers.

Also contians refactor of connector bindings to split methods into separate files.

Fixes #2710

Changes:

  • rhino connector
  • rhino converter

image

.ToList();
// if on create mode, make sure the parent commit layer is created first
if (state.ReceiveMode == ReceiveMode.Create)
{
Copy link
Member Author

Choose a reason for hiding this comment

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

This code chunk is where the bug fix is, along with the change in the converter

Copy link
Contributor

@AlanRynne AlanRynne left a comment

Choose a reason for hiding this comment

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

Very nice refactor ♥️

I don't see any gotchas here, but the diff makes it difficult to find anything so lets go for it and test it once it's out.

@AlanRynne AlanRynne merged commit c75cfa4 into dev Jul 3, 2023
@AlanRynne AlanRynne deleted the rhino/claire/layer-bugs branch July 3, 2023 15:08
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.

2 participants