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

throw on duplicated names for recostings #4042

Merged
merged 4 commits into from
Mar 27, 2023
Merged

Conversation

nilsnolde
Copy link
Member

fixes #4041

Chose to throw when there'd be dups.

nilsnolde and others added 2 commits March 27, 2023 17:31
Co-authored-by: Kevin Kreiser <kevinkreiser@gmail.com>
Api api;
auto json = actor.route(R"({"costing":"auto","locations":[)" + locations + R"(],"recostings":[
{"costing":"auto","name":"same"},
Copy link
Member

Choose a reason for hiding this comment

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

just a note. i know that the base costing doesnt serialize its name in the attributes that come out but if you do name it the same as a recosting it is kind of strange.

@nilsnolde nilsnolde merged commit c10df35 into master Mar 27, 2023
@nilsnolde nilsnolde deleted the nn-recostings-json branch March 27, 2023 16:56
@nilsnolde
Copy link
Member Author

I don’t trust codecov anymore.. why is it reporting from inside test files? Doesn’t make much sense to me.. Often it also seems to be pretty erratic.. anyways, I know it’s not easy to do.

@nilsnolde
Copy link
Member Author

Or is it a config issue to some degree?

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.

recostings can produce kinda invalid JSON
2 participants