Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-10502

Helpers for lazy loading of GraphQL query results

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • GraphQL Core 0.0.10
    • GraphQL Core 0.0.12
    • GraphQL
    • None

    Description

      Lazy loading of "expensive" field values can help the performance of GraphQL queries, by omitting calls to methods that retrieve or compute data if the corresponding fields are not used in the result set.

      A natural way of doing that is to return a Supplier<SomeType> instead of SomeType directly. I'm not sure if the GraphQL Core supports that correctly out of the box, it would be good to try that and maybe implement the corresponding improvements.

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: