Skip to content

Conversation

@copybara-service
Copy link

Move db::type_visibility to a #[provided] function.

This is possible now that provided functions were changed from being defined on the trait to being defined on the impl Trait for Database -- the specific type is known, making dyn coercion work again.

What a royal pain!

This, in turn, signals that we can use #[provided] functions to do some pretty nifty things without (yet?) moving off of the &dyn Trait type.

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.

0 participants