Skip to content

DOCSP-44801: Client-side projection breaking v3.0 breaking change #321

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

Merged
merged 5 commits into from
Nov 26, 2024

Conversation

mcmorisi
Copy link
Collaborator

@mcmorisi mcmorisi commented Nov 20, 2024

Pull Request Info

PR Reviewing Guidelines

JIRA - https://jira.mongodb.org/browse/DOCSP-44801

Staging Links

  • upgrade/v3
  • Self-Review Checklist

    • Is this free of any warnings or errors in the RST?
    • Did you run a spell-check?
    • Did you run a grammar-check?
    • Are all the links working?
    • Are the facets and meta keywords accurate?

    Copy link

    netlify bot commented Nov 20, 2024

    Deploy Preview for mongodb-docs-csharp ready!

    Name Link
    🔨 Latest commit a1112b0
    🔍 Latest deploy log https://app.netlify.com/sites/mongodb-docs-csharp/deploys/673e4a3fa63a2a00089c5189
    😎 Deploy Preview https://deploy-preview-321--mongodb-docs-csharp.netlify.app
    📱 Preview on mobile
    Toggle QR Code...

    QR Code

    Use your smartphone camera to open QR code link.

    To edit notification comments on pull requests, go to your Netlify site configuration.

    Copy link
    Collaborator

    @norareidy norareidy left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    LGTM with a couple minor suggestions

    Comment on lines 103 to 104
    - Queries that use client-side projections will throw an ``ExpressionNotSupportedException``
    by default with v3.0. To enable client-side projections, set the
    Copy link
    Collaborator

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    S: add "error"; also since this is in the v3.0 section, I don't think you need to specify that again

    Suggested change
    - Queries that use client-side projections will throw an ``ExpressionNotSupportedException``
    by default with v3.0. To enable client-side projections, set the
    - Queries that use client-side projections will throw an ``ExpressionNotSupportedException`` error
    by default. To enable client-side projections, set the

    @@ -97,7 +97,16 @@ Version 3.0 Breaking Changes
    To configure logging in your application, see the :ref:`csharp-logging` guide.

    - The LINQ2 provider has been removed from this version of the driver.
    You must use LINQ3 for all LINQ queries.
    You must use LINQ3 for all LINQ queries. This change has the following effect on the
    Copy link
    Collaborator

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    S: since there's only one item in this nested list, it might make more sense to just combine it all into one paragraph? Or add a line break after "You must use LINQ3 for all LINQ queries" and start a new paragraph with "Queries that use client-side projections..."

    @mcmorisi mcmorisi requested a review from rstam November 20, 2024 20:48
    Copy link
    Collaborator

    @rstam rstam left a comment

    Choose a reason for hiding this comment

    The reason will be displayed to describe this comment to others. Learn more.

    LGTM

    @mcmorisi mcmorisi marked this pull request as ready for review November 26, 2024 14:34
    @mcmorisi mcmorisi merged commit 510f9be into mongodb:master Nov 26, 2024
    6 checks passed
    @mcmorisi mcmorisi deleted the DOCSP-44801-client-side-projections branch November 26, 2024 14:35
    mcmorisi added a commit that referenced this pull request Nov 26, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    3 participants