Questions tagged [graphql]

For questions about GraphQL, an API technology designed to describe the complex, nested data dependencies of modern web applications.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 views

Offloading database joins to IOT devices

Solution as it is right now I have this solution where I gather information from a proprietary product of a different company in various sites. The solution is based on a single go binary that ...
3
votes
1answer
145 views

What *really* is the difference between relational and non-relational data?

Here is where I am at right now: I know that relational data, like that found in relational databases like MySQL or Postgres, is relational because there are relations between the tables. That is the ...
0
votes
0answers
26 views

How does GraphQL and EntityFramework work together consumer side

We are developing a graphql api for our DAL at work and I'm having trouble seeing how as a consumer of the api we can use our current model in a beneficial way. I'm developing a desktop app that uses ...
1
vote
4answers
98 views

Performance issues in an pseudo microservice environment

I'm currently working on a project which is build as a microservice architecture. We have one "Gateway" which aggregates the data coming from the different microservices to return one aggregated ...
0
votes
1answer
80 views

GraphQL results in a very large Query and Mutator file for Enterprise Monolith

I am investigating a good maintainable architecture for GraphQL. In particular we want to migrate a REST app to GraphQL. Specifically I am using .NET. I am following the tutorial here: https://...
0
votes
0answers
14 views

Storing partial data in a redux store, how should be this done?

In my app I have some data to be fetched from the server (a list of recipes). In certain views, only a preview of the recipe is shown--this includes fields like title, rating, and an image of the ...
0
votes
0answers
33 views

Why should GraphQL mutations only have 1 parameter?

I am designing a schema and am looking for best practices for writing mutations. I noticed that the typical design for creating a resource with a mutation looks like: type Post { id: ID! ...
0
votes
2answers
132 views

Is there an industry precedent for SQL pass-through endpoints? [closed]

There is an increasing interest toward GraphQL and Falcor across the Web. Each time I see an article or discussion about those, I get reminded about SQL, at least its DQL part. Obviously, sending raw ...
2
votes
0answers
60 views

Where to store the state of a complex form in React?

Let us consider a complex form of registering a driver and owner. The driver will have all these fields: driver = { firstName: "xyz", lastName: "abc", phone: "1234", email: "m@g.com, licence: "...
7
votes
2answers
767 views

“REST Vs GraphQL” is it a correct comparison?

I saw in many sites that compare REST with GraphQL. after investigating this concern (actually my concern) that, "is it a correct comparison?", I being more confused. Since the REST has a different ...
1
vote
0answers
59 views

Are REST Resources and GraphQL Object Types conceptually equal?

I'm in the process of outlining the intended business logic of a web service. At this point, I'm not too concerned with implementation details. On the contrary, I'm looking for ways to abstract them ...
7
votes
1answer
315 views

What architecture layer is GraphQL part of?

I'm currently dealing with a GraphQL project with poor architecture. I read about where to put AuthZ checks and they refer to the "business layer" as to be called from a GraphQL resolver. Up till now,...
6
votes
2answers
195 views

GraphQL - Should I expose link tables?

I am experimenting with converting an API to GraphQL, and I have a database that has many-to-many relationships that are stored via link tables; something like this: CREATE TABLE accounts ( id int, ...