We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When there are no relations, is_resource_created returns True since
is_resource_created
True
all([]) == True
The correct UX that I would feel more intuitive is:
is_resource_created()
is_resource_created(relation_id)
N/A
No response
The text was updated successfully, but these errors were encountered:
Fixed in #44
Sorry, something went wrong.
No branches or pull requests
Bug Description
When there are no relations,
is_resource_created
returnsTrue
sinceThe correct UX that I would feel more intuitive is:
is_resource_created()
with no relations, we return Falseis_resource_created(relation_id)
with no relation, we raise an exceptionTo Reproduce
N/A
Environment
N/A
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: