epam / epam/epam-graphql

Not nullable datetime type in loader considered unfilled even after initialization in `BeforeCreate`

Open
#3 0 comments 0 reactions 1 assignee Claimed by @kuzn-ilya View on GitHub
enhancement investigation
Dominant language
C#
Stars
23
Forks
6
PR merge metrics
No merged PRs in 30d

Description

### Description

If new entity is creating and there are fields of non-nullable value types (e.g., `DateTime`) in the loader and we initialize them in the `BeforeCreate` method, they are all considered as empty and Epam.GraphQL returns an error complaining that these fields are not initialized and they must be not null.

### Describe the solution you'd like

It should be possible to initialize fields which have non-nullable value type when new entity is creating without providing values for these fields in GraphQL mutation variables.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.