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

add oem property for root service object #153

Merged
merged 1 commit into from
Jun 18, 2021

Conversation

leslie-qiwa
Copy link
Contributor

Signed-off-by: Leslie Qi Wang [email protected]

@stmcginnis
Copy link
Owner

Thanks @leslie-qiwa, but please see #146 for an example of how we've decided to approach OEM data.

@leslie-qiwa
Copy link
Contributor Author

leslie-qiwa commented Jun 18, 2021

@stmcginnis I pushed new change, and let me know if it is align with #146 or not

Copy link
Owner

@stmcginnis stmcginnis left a comment

Choose a reason for hiding this comment

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

Looks good, thanks!

@@ -175,6 178,7 @@ func (serviceroot *Service) UnmarshalJSON(b []byte) error {
Links struct {
Sessions common.Link
}
Oem json.RawMessage // OEM message will be stored here
Copy link
Owner

Choose a reason for hiding this comment

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

I don't think we would need this because it can just be unmarshalled directly to the object's property. But no big deal, that can be cleaned up later.

@stmcginnis stmcginnis merged commit 16f7bb2 into stmcginnis:main Jun 18, 2021
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