Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse & cache queries #205

Merged
merged 23 commits into from
Nov 29, 2021
Merged

Parse & cache queries #205

merged 23 commits into from
Nov 29, 2021

Commits on Nov 26, 2021

  1. Move Query to its own file

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    5a23f14 View commit details
    Browse the repository at this point in the history
  2. Move query parsing to object creation

    I don't store any object coming from apollo_parser here because they are
    !Send. This prevents the whole object to be moved to another thread.
    This is why I need to create my own objects (enum Selection) which won't
    have this limitation.
    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    46ece7d View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary derives

    We won't serialize or deserialize on object creation because this
    process is costly. So Request's `query` field stays a simple String and
    Query becomes a new object more aware of the actual content of the
    query.
    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    40b12af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fad02c6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8e913b1 View commit details
    Browse the repository at this point in the history
  6. Update apply_selection_set

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    0e01fd4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86f6cb0 View commit details
    Browse the repository at this point in the history
  8. Return parsing errors

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    2309801 View commit details
    Browse the repository at this point in the history
  9. Shamelessly copy-pasting caching from query planner

    Maybe I should have refactor that caching first...
    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    78d6196 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    dd9a175 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b38d4b5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    07a9b0e View commit details
    Browse the repository at this point in the history
  13. clippy fixes

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    2f7fcd4 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    722de30 View commit details
    Browse the repository at this point in the history
  15. Apply all operation selections

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    3090776 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a1b5430 View commit details
    Browse the repository at this point in the history
  17. Fix and add tests

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    54b3bf5 View commit details
    Browse the repository at this point in the history
  18. Add doc

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    c4064ee View commit details
    Browse the repository at this point in the history
  19. Merge commit ce5ea54 (conflicts)

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    7baf9b1 View commit details
    Browse the repository at this point in the history
  20. Merge commit 9415cb7 (no conflict)

    cecton committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    bb74f70 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    228a4fb View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Configuration menu
    Copy the full SHA
    44fdb3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33e03a6 View commit details
    Browse the repository at this point in the history