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

Can conflicted be used as an alternative to extenal_package::func in package development? #111

Closed
travis-leith opened this issue Jul 12, 2024 · 2 comments

Comments

@travis-leith
Copy link

This is asked but not (at time of writing) answered here: https://stackoverflow.com/questions/78734567/is-it-safe-to-use-conflicted-instead-of-fully-qualifying-namespaces-for-packag

Is it safe to use conflicted in package development. Would doing so avoid a user from unintentionally overriding a function my package depends on for example?

I'd like to disambiguate style guidelines and conventions from actual consequences of using conflicted in package development.
If it turns out that it is not safe, can we make this clear in the readme for conflicted?

@travis-leith travis-leith changed the title Can conflicted be used as an alterative to extenal_package::func in package development? Can conflicted be used as an alternative to extenal_package::func in package development? Jul 12, 2024
@hadley
Copy link
Member

hadley commented Jul 12, 2024

No 😄

@travis-leith
Copy link
Author

Fair enough 😄. I will close this, because if anyone should be trusted with a one word answer on this topic it would be you. Having said that, feel free to add (or link to) a brief explanation.

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

2 participants