nikcio / Nikcio.UHeadless

The easiest way to go headless in Umbraco using GraphQL
https://nikcio.github.io/Nikcio.UHeadless
MIT License
53 stars 13 forks source link

BasicProperty doesn't return values #324

Closed andersonrosilva closed 3 months ago

andersonrosilva commented 3 months ago

Which Nikcio.UHeadless version are you using? For example: 3.2.0

4.2.1

Which Umbraco version are you using? For example: 10.4.0 - don't just write v10

13.4

Bug summary

Hello. I'm trying to create a Custom property to get back its "Alias", but the values ​​are not being displayed when I use the "BasicPropertyValue" class for any of the types.

Using just "PropertyValue" the basic model returns the value correctly.

Steps to reproduce

image

image

image

Expected result / actual result

Returning custom value to propertyValue.

andersonrosilva commented 3 months ago

It was solved using

PropertyConstants.DefaultKey

image