Giter VIP home page Giter VIP logo

Comments (3)

abernix avatar abernix commented on July 18, 2024

@kindermax Can you try this again on the latest version and see what you find? A lot of validation actually was changed, so it may have also resolved this. Thanks!

from router.

kindermax avatar kindermax commented on July 18, 2024

Sure, will try next week

from router.

kindermax avatar kindermax commented on July 18, 2024

@abernix I just checked on 1.46 and it still the same (i used different field from graph but the issue is the same, Int field with float number in response that cant be converted to int without losing precision)

In logs I see

Raw response body from subgraph "service1" received http.response.body={"data":{"context":{"id":1.1}}} apollo.subgraph.name=service1

and then

Supergraph GraphQL response http.response.body=Response { label: None, data: Some(Null), path: None, errors: [], extensions: {"valueCompletion": Array([Object({"message": String("Cannot return null for non-nullable field Context.id"), "path": Array([String("context"), String("id")])}), Object({"message": String("Cannot return null for non-nullable field Context!.context"), "path": Array([String("context")])})]), "apolloQueryPlan": Object({"object": Object({"kind": String("QueryPlan"), "node": Object({"kind": String("Fetch"), "serviceName": String("service1"), "variableUsages": Array([]), "operation": String("{context{id}}"), "operationName": Null, "operationKind": String("query"), "id": Null, "inputRewrites": Null, "outputRewrites": Null, "schemaAwareHash": String("57358ed7f3e5c17b3c1239e70f570cdfe733f425d1feafc47d1c736489049b09"), "authorization": Object({"is_authenticated": Bool(false), "scopes": Array([]), "policies": Array([])})})}), "text": String("QueryPlan {\n  Fetch(service: \"service1\") {\n    {\n      context {\n        id\n      }\n    }\n  },\n}")})}, has_next: None, subscribed: None, created_at: None, incremental: [] }

from router.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.