wayfair-incubator/gqmock

Custom Scalar Support

mmriyadhgit opened this issue · 2 comments

Problem Statement

While trying to use schema containing customer scalar type, e.g., DateTime, Decimal, we are getting error messages.

Error Msg

"Error: No mock defined for type "DateTime""
"Error: No mock defined for type "Decimal""

Proposed Solution

Perhaps it would be necessary to include resolvers to support some of the common custom scalars as described here.

Alternatives Considered

Please briefly describe which alternatives, if any, have been considered, including merits of alternate approaches and
tradeoffs being made.

Additional Context

Please provide any other information that may be relevant.

Automatically marking issue as stale due to lack of activity

Automatically closing this issue as stale