Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

feat(contexts): non normalized data set to raw-description #243

Merged
merged 4 commits into from
Apr 30, 2018

Conversation

bruno-garcia
Copy link
Member

  • 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 jan-auer requested a review from mitsuhiko April 29, 2018 10:40
@jan-auer jan-auer assigned bruno-garcia and unassigned mitsuhiko Apr 29, 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\"}"));
Copy link
Member

Choose a reason for hiding this comment

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

This must be raw_description! Same below.

Copy link
Member Author

Choose a reason for hiding this comment

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

thanks for catching that! I updated OS and forgot Runtime

@bruno-garcia
Copy link
Member Author

@jan-auer could you please check again?

@bruno-garcia bruno-garcia merged commit 66e4b9a into develop Apr 30, 2018
@bruno-garcia bruno-garcia deleted the feat/raw-field-unormalized-data branch April 30, 2018 12:31
@bruno-garcia bruno-garcia mentioned this pull request Apr 30, 2018
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants