Skip to content

Conversation

@cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Mar 30, 2023

Adds ApplicationInfo builder and tests. I copied the naming from Rust - rather than calling it an ApplicationInfoBuilder or whatever.

TBD if this is a good idea, I think I'll do a renaming pass next week.

In order to report errors, I've introduced a shared error.hpp header containing error codes. We can then ensure no overlapping codes, and have a central place to define error strings.

@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #194969: Implement Application Tags.

Base automatically changed from cw/sc-194957/common-config to cw/sc-194812/service-endpoints-config March 30, 2023 16:32
Base automatically changed from cw/sc-194812/service-endpoints-config to main March 30, 2023 19:27
@cwaldren-ld cwaldren-ld force-pushed the cw/sc-194969/application-tags branch 4 times, most recently from 122a023 to 6fa4594 Compare March 30, 2023 22:48
@cwaldren-ld cwaldren-ld marked this pull request as ready for review March 30, 2023 22:48
@cwaldren-ld cwaldren-ld marked this pull request as draft March 30, 2023 22:48
@cwaldren-ld cwaldren-ld force-pushed the cw/sc-194969/application-tags branch 3 times, most recently from 4b6f45f to 75e6343 Compare March 31, 2023 17:20
tags_.emplace_back(std::move(key), std::move(value));
}
// todo: error handling if not valid
return *this;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will update once the tl::expected PR goes through.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review March 31, 2023 17:44
@cwaldren-ld cwaldren-ld requested a review from kinyoklion March 31, 2023 17:44
@cwaldren-ld cwaldren-ld requested a review from kinyoklion March 31, 2023 22:48
@cwaldren-ld cwaldren-ld force-pushed the cw/sc-194969/application-tags branch from 29afb61 to 4385344 Compare April 3, 2023 17:49
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.

3 participants