ChilliCream / graphql-platform

Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
https://chillicream.com
MIT License
5.25k stars 744 forks source link

Incorrect description for Decimal #7469

Closed cmeeren closed 1 month ago

cmeeren commented 1 month ago

Product

Hot Chocolate

Version

14.0.0-rc.1

Link to minimal reproduction

none

Steps to reproduce

Surface a Decimal field through HotChocolate.

What is expected?

This schema:

"[some useful description]"
scalar Decimal

What is actually happening?

This schema:

"The built-in `Decimal` scalar type."
scalar Decimal

The Decimal scalar type is not built-in from a GraphQL perspective, so this message is incorrect.

Relevant log output

No response

Additional context

No response

michaelstaib commented 1 month ago

@glen-84 maybe we just put the System.Decimal description in here as this is what the type wraps.