-
Notifications
You must be signed in to change notification settings - Fork 12
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
[DI-1132] Add Delete By Id Functionality #47
Conversation
simpat-adam
commented
Dec 2, 2023
•
edited
Loading
edited
- Adds Delete By Id functionality.
- Fixes integration tests using python.exe where the test would try to access the process after it had exited.
f376501
to
413eb2b
Compare
… after process has completed.
7cab65f
to
0627319
Compare
var result = new JObject { new JProperty("Id", new JObject { new JProperty("Column", node.SourceColumn) }) }; | ||
return result; | ||
} | ||
|
||
private JArray SerializeArray(ResourceMetadata arrayItemMetadata, IReadOnlyList<DataMapper> nodes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@simpat-adam
Can we have separate DataMapSerializer class for just for Delete operations ? This will make sure to have single response across the classes. If we add delete by natural key we can plugin one more class or over loads on this class !
@@ -170,7 +171,7 @@ protected override async Task Handle(Command request, CancellationToken cancella | |||
} | |||
} | |||
|
|||
private async Task TransformAndPostEachRowUsingDataMap(File file, DataMap dataMap, IOdsApi odsApi, Agent agent) | |||
private async Task TransformAndProcessEachRowUsingDataMap(File file, DataMap dataMap, IOdsApi odsApi, Agent agent) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method renaming looks good 👍