Giter VIP home page Giter VIP logo

Comments (6)

chrissm79 avatar chrissm79 commented on July 19, 2024 1

@TGNThump @olivernybroe This is something I've wanted to implement since I started development of v2.0. I haven't looked into it yet (Subscriptions is currently my top new feature priority). There's a few areas which might require a PR to graphql-php such as knowing the duration and startOffset of parsing and validation for the schema. As for the resolvers, it wouldn't be too hard to wrap each field resolver and send it's stats to a central TraceExtension repository to include in the response. I'll mark it as a 2.x feature for now and I'll keep this issue updated as I dig into it. PRs are more than welcome too 😄

from lighthouse.

olivernybroe avatar olivernybroe commented on July 19, 2024

Hmm looks like they don't support webonyx/graphql-php, do we need the underlying package to support it and then we can support it afterwards?

from lighthouse.

TGNThump avatar TGNThump commented on July 19, 2024

Ah, yeah. webonyx/graphql-php has no extensions support implemented yet. :/
There is a PR for it (webonyx/graphql-php#193), but apparently there is debate about which direction to take.

from lighthouse.

spawnia avatar spawnia commented on July 19, 2024

@chrissm79 does #199 resolve this? If so, this will be in v2.2!

from lighthouse.

chrissm79 avatar chrissm79 commented on July 19, 2024

Indeed it does!! I've only tested it in GraphQL Playground but @TGNThump if you're still having issues let me know and we'll reopen and investigate!

from lighthouse.

eaverdeja avatar eaverdeja commented on July 19, 2024

@chrissm79 Tracing is not working for me. I'm using

  • PHP 7.1.3
  • laravel-graphql-playground 0.3.3
  • lighthouse 2.6.4
  • laravel 5.7.21

Here's what shows up for me when clicking on the tracing option
image

Tracing would be really cool 👍

from lighthouse.

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.