This repository was archived by the owner on Aug 30, 2023. It is now read-only.
feat(contexts): non normalized data set to raw-description#243
Merged
bruno-garcia merged 4 commits intodevelopfrom Apr 30, 2018
Merged
feat(contexts): non normalized data set to raw-description#243bruno-garcia merged 4 commits intodevelopfrom
bruno-garcia merged 4 commits intodevelopfrom
Conversation
Member
bruno-garcia
commented
Apr 28, 2018
- Leave Name and Version empty if no propert API available to set it
- An SDK consumer with a better system API (i.e: Xamarin) can set Name and Version directly
- Server will use Raw Description if no Name and Version was provided to try normalizing into those 2 fields.
* Leave Name and Version empty if no propert API available to set it * An SDK consumer with a better system API (i.e: Xamarin) can set Name and Version directly * Server will use Raw Description if no Name and Version was provided to try normalizing into those 2 fields.
jan-auer
suggested changes
Apr 30, 2018
| var actual = JsonConvert.SerializeObject(runtime); | ||
|
|
||
| Assert.That(actual, Is.EqualTo("{\"name\":\"NETCore\",\"version\":\"2.0.1\"}")); | ||
| Assert.That(actual, Is.EqualTo("{\"name\":\"NETCore\",\"version\":\"2.0.1\",\"raw-description\":\"NETCore 2.0.1\"}")); |
Member
There was a problem hiding this comment.
This must be raw_description! Same below.
Member
Author
There was a problem hiding this comment.
thanks for catching that! I updated OS and forgot Runtime
Member
Author
|
@jan-auer could you please check again? |
jan-auer
approved these changes
Apr 30, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.