Skip to content

Request without returning parameters #31

Open
@rinatsolmano

Description

@rinatsolmano

Hello, guys, thanks for you work.
Could you please help me to find out how to build following query with kraph:

query {
    vendors(dc: 5820)
}

Here is part of my schema:

type Query {
    vendors(dc: Int!): [Int]
}

I've already tried to execute this code:

Kraph {
    query {
        func(name = "vendors", args = mapOf("dc" to 5820)) {}
    }
}

But it fails with exception:
me.lazmaid.kraph.NoFieldsInSelectionSetException: No field elements inside "vendors" block

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions