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

Fix bug relating to reuse of types #2077

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

nicois
Copy link
Contributor

@nicois nicois commented Jul 7, 2024

When LoadTypes is being called, it does not include the namespace-qualified types in its result. While these namespaces are visible to LoadTypes itself, RegisterTypes will not recognise this form of the types, only allowing them to be used if they are on the schema path, and referred to without their namespace component.

When `LoadTypes` is being called, it does not include the
namespace-qualified types in its result. While these namespaces are
visible to `LoadTypes` itself, `RegisterTypes` will not recognise this
form of the types, only allowing them to be used if they are on the
schema path, and referred to without their namespace component.
@nicois nicois force-pushed the nicois/pgtype-other-schema-fix branch from 65b120f to b770252 Compare July 7, 2024 01:26
@jackc jackc merged commit 3563a2b into jackc:master Jul 8, 2024
14 checks passed
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.

2 participants