Skip to content

Conversation

@JaapSingh
Copy link
Contributor

Fixes build errors brought about due to template file instantiating property to have same name as methods within the same class. The commits within this PR perform a specific check to ensure this does not happen, allowing successful build.

Now allows GetSanitizedPropertyName to accept an additional parameter, suffix, so that an additional string may be concatenated onto the end of the Property. Updated method logic to look for and concatenate suffix when specified.
Updates IEntityRequestBuilder.Base.template.tt so that it does not create properties with the same name as the methods within the class (specifically request), by concatenating a "_" to the end of the property name.
Updates EntityRequestBuilder.Base.template.tt so that it does not create properties with the same name as the methods within the class (specifically request), by concatenating a "_" to the end of the property name.
PxlBuzzard
PxlBuzzard previously approved these changes Jan 31, 2019
rohitramu
rohitramu previously approved these changes Feb 1, 2019
Copy link

@rohitramu rohitramu 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 👍

Deletes invalid reference paths to avoid namespace errors
@JaapSingh JaapSingh dismissed stale reviews from rohitramu and PxlBuzzard via 85b03e0 February 1, 2019 17:04
@MIchaelMainer MIchaelMainer merged commit ef05d6b into microsoftgraph:dev Feb 1, 2019
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.

4 participants