S
S
Shakir Darion2021-02-27 23:03:29
Node.js
Shakir Darion, 2021-02-27 23:03:29

Is it ok if the resolver returns more data?

Hi all.

according to the scheme, the resolver should return {x, y}.

function normal() {
      return { x: 1, y: 2 };
    }


but i return {x, y, z}.

function normal() {
      return { x: 1, y: 2, z: 3 };
    }


this is normal? Or it can lead to problems, for example, with performance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question