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

Strategy docs wrong? #654

Open
matthughes opened this issue May 3, 2022 · 0 comments
Open

Strategy docs wrong? #654

matthughes opened this issue May 3, 2022 · 0 comments

Comments

@matthughes
Copy link
Contributor

    /**
     * This strategy supports built-in Postgres types only, and does not need a database round-trip
     * for initialization. This is the fastest strategy and is appropriate when you are not using
     * any user-defined types (this includes enums).
     */
    case object BuiltinsOnly extends Strategy

    /**
     * This strategy supports built-in Postgres types, as well as types that are defined in
     * namespaces on the session search path. This is the default strategy.
     */
    case object SearchPath extends Strategy

SearchPath indicates it's the default strategy but Session.pooled defaults to BuiltinsOnly. Is this comment incorrect?

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

No branches or pull requests

1 participant