using the documented RequiresAuthValidationRule implementation;
https://github.com/graphql-dotnet/graphql-dotnet/blob/master/docs/learn.md
There is an example of checking if a field has certain permission and if a user can access that…
am using this GraphQl nuget to achieve a general QUery at my system using the following code
if (!string.IsNullOrEmpty(query))
{
var urlDecode = HttpUtility.UrlDecode(query);
var result =
…
Let's say I have two GraphQL services, one that provides an inventory of all cars at a dealership, and another that lets me find the history of what a particular car sold for. My top level types would be:
type Vehicle {
vin: String
}
type…
*{
clicks(
where: {
id: { eq: 1 }
date: {day: {eq : 25}}
}
)
{
id,
date
}
}*
I'm trying to get all clicks which where the day is equal to 25 (date is datetime…
Ok, so I've been at this for hours and exshausted all of the documentation I could lay eyes on without an answer.
The ASTNode resulting from parsing a graphql schema using graphql-dotnet/parser has field properties. In previous releases of the…
Within GraphQL-Dotnet i have a mutation with a list type input type, and within that type, i have a list of items, which themselves are an input type.
I have defined the mutation and the resolver for the mutation to be:
…
How can I extend my date type filter or override my date type filer in C# with ASP.NET Core? API call is coming to GraphQL. I am able to achieve string type filter but not able to find anything related to dates type
Hi I have a graphql Response after Mutating
{{
"carCreate": {
"car": {
"id": "TestId"
}
}
}}
I want to Desealize it I am using The following Code
var graphQlClient = new GraphQLHttpClient(AppConfig.GraphQlUrl, new…
So, I'm following this GraphQL tutorial and in it we have the code below and I would like to know how, in NotesMutation, can I use another DB connection in "resolve: context", because I have created another one without Entity…
I am trying to build an application using .Net and GraphQL. I need to get materials. not all of them but with the given Ids. When I pass it via playground or client side, I don't have any problem when I debug but I am not sure how to parse in the…
I have a graphQL query where I have 10 parallel queries + 2 properties on the second level. This results in 12 queries (10 queries + 2 batched properties).
{
entries0(pageSize: 10) {
id
project {
id
}
…
I'm trying to upload the user avatar of .png/jpeg/.jpg file types from angular client to .netCore server application using GraphQL API.
I managed to send the image to be uploaded in a request of content type multipart/form-data from client-side.
But…
Following a tutorial at the moment to do with C# Azure functions and GraphQL. Having a little trouble with the Schema for the GraphQL Types.
Here is my Model User class:
public class User : Base
{
private User()
{
}
public…
We need to rename the fields in the graphQL, so we get the AST of the GraphQL firstly, and modify it as we need.
However, I can't find any solution to convert the AST back to the GraphQL.
The parser I use is "GraphQL Dotnet Parser"
I'd like to include an embedded graphql processor in my .net app.
I want to execute GraphQL functions via a method and I don't need the server or an endpoint.
Basically an internal GraphQL processor. I'll define the resolvers and the schema and then…