Skip to content

Conversation

@hiihellox10
Copy link
Contributor

@hiihellox10 hiihellox10 commented Mar 11, 2021

When a defined property of an attribute is an object type that the value of the property cannot be correctly identified. For example, the ConfigurationPropertyAttribute.DefaultValue property is an object type so the value of the DefaultValue property can be of any type but we don't support convert the value to a correct type before. I create some test cases to reproduce and fix the issue of the same type. Now we have supported all the attribute parameter types.

Copy link
Member

@joelmartinez joelmartinez left a comment

Choose a reason for hiding this comment

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

Thanks for opening the PR ... I've made a few comments. And also looking at the build result, it seems to be failing on a strange diff; doesn't look like there's any actual change here?

image

In any case, please let us know when you've got this working, or otherwise if you come across any other blockers. Thanks!

@hiihellox10 hiihellox10 changed the title Fix attribute argument not imported correctly Improve argument value formatter that fix the value of attribute argument not imported correctly Mar 15, 2021
@joelmartinez
Copy link
Member

@hiihellox10 I see the tests are passing now, which is great! Is the PR ready for review? if so, please publish it (it's currently a draft)

…annot be correctly identified, remove some test codes, refactoring test cases and codes.
@hiihellox10
Copy link
Contributor Author

@hiihellox10 I see the tests are passing now, which is great! Is the PR ready for review? if so, please publish it (it's currently a draft)

@joelmartinez the issue is closer to fixed but it is have not complete that still have a few related issues need to be resolved.

@hiihellox10 hiihellox10 requested a review from anmeng10101 March 18, 2021 04:04
@hiihellox10 hiihellox10 marked this pull request as ready for review March 18, 2021 08:39
Copy link
Member

@joelmartinez joelmartinez left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution, this will really improve attribute value rendering

@joelmartinez joelmartinez merged commit 806f222 into develop Apr 14, 2021
@joelmartinez joelmartinez deleted the xiao/fix-default-value-of-attribute-not-imported-correctly branch April 14, 2021 15:20
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.

3 participants