Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

Conversation

@dougbu
Copy link
Contributor

@dougbu dougbu commented Feb 10, 2017

No description provided.

- #5595
- enhance the `StartsWith()` check to look at what comes after
"projects": ["src", "test/WebSites", "samples"]
"projects": ["src", "test/WebSites", "samples"],
"sdk": {
"version": "1.0.0-preview2-003154"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the SDK version the build downloads. Is it the correct one for the 1.0.3 milestone?

Copy link
Contributor

Choose a reason for hiding this comment

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

It should be good for now. @JunTaoLuo, we'll need to update the CLI to the version that's shipping in the release (if any). Could you file a tracking item for this?

string.Empty
},
{
(Expression<Func<TestModel, int>>)(model => models[0].SelectedCategory.CategoryId),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

"s[0].SelectedCategory.CategoryId" before fix

"models[0].SelectedCategory.CategoryId"
},
{
(Expression<Func<TestModel, string>>)(model => modelTest.Name),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

"Test.Name" before fix

"modelTest.Name"
},
{
(Expression<Func<TestModel, Type>>)(model => modelType),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

"Type" before fix

Copy link
Contributor

@pranavkm pranavkm left a comment

Choose a reason for hiding this comment

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

For that one question. Looks good otherwise.

"projects": ["src", "test/WebSites", "samples"]
"projects": ["src", "test/WebSites", "samples"],
"sdk": {
"version": "1.0.0-preview2-003154"
Copy link
Contributor

Choose a reason for hiding this comment

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

It should be good for now. @JunTaoLuo, we'll need to update the CLI to the version that's shipping in the release (if any). Could you file a tracking item for this?

{
(Expression<Func<TestModel, Type>>)(model => modelType),
"modelType"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

What happens if the expression uses something from a type or namespace called "Model" e.g m => MyApp.Model.Constants.CopyrightYear or some weird variant like 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.

We'd have to test those cases. But, this goes beyond the reported problem. So we should focus the follow-up discussion on dev.

Copy link
Contributor

Choose a reason for hiding this comment

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

Sounds good.

@dougbu
Copy link
Contributor Author

dougbu commented Feb 11, 2017

@pranavkm this doesn't show as signed off. Do you approve?

@pranavkm
Copy link
Contributor

:shipit:

@dougbu dougbu merged commit fa710e6 into rel/1.0.3 Feb 11, 2017
@dougbu dougbu deleted the dougbu/just.model.only.model.5595 branch February 11, 2017 21:50
@dougbu
Copy link
Contributor Author

dougbu commented Feb 11, 2017

  • fa710e6 in rel/1.0.3
  • cherry-picked test changes as a5c7a7e into dev
  • did not merge rel/1.0.3 branch into dev because this product code change does not apply and branches have diverged significantly

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.

4 participants