Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproduce enum not compiling as the default input value #488

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

DZakh
Copy link
Contributor

@DZakh DZakh commented Feb 25, 2024

No description provided.

@@ -51,10 +51,11 @@ let connectionKey = "TestConnections_user_friendsConnection"
)

@live
let makeConnectionId = (connectionParentDataId: RescriptRelay.dataId, ~onlineStatuses: array<RelaySchemaAssets_graphql.enum_OnlineStatus>=[Idle, Offline], ~beforeDate: TestsUtils.Datetime.t) => {
let makeConnectionId = (connectionParentDataId: RescriptRelay.dataId, ~onlineStatuses: array<RelaySchemaAssets_graphql.enum_OnlineStatus>=[Idle, Offline], ~beforeDate: TestsUtils.Datetime.t, ~orderBy: array<RelaySchemaAssets_graphql.input_UserOrder>=Obj.magic({"direction": ASC, "field": FIRST_NAME})) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It'll fail with the following error on the line

image

@zth zth merged commit b58da6e into zth:master Feb 26, 2024
4 of 6 checks passed
@DZakh
Copy link
Contributor Author

DZakh commented Feb 26, 2024

Will you fix it? I didn't intend for it to be merged yet 😅

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.

2 participants