Closed deusebio closed 1 year ago
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
Fixed in #44
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