generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Labels
feature-requestThis issue requets a substantial new featureThis issue requets a substantial new featuregood-first-issueGood for newcomers. A smaller issue that someone new to the Cedar codebase should be able to tackleGood for newcomers. A smaller issue that someone new to the Cedar codebase should be able to tacklehelp-wantedCommunity help desired. We have not scheduled time to fix this, but think it important.Community help desired. We have not scheduled time to fix this, but think it important.
Description
Category
User level API features/changes
Describe the feature you'd like to request
The public Entities
type should support .into_iter()
and the IntoIterator
trait. Today, it only supports .iter()
which gives &Entity
as the item type; but some users may want to consume the Entities
and have Entity
as the item type. In particular, I'm imagining that users might want to do this in order to add more Entities
and then give the larger set of entities back to Entities::from_entities()
(at least until #612 is fixed).
Describe alternatives you've considered
The status quo works, but requires users to clone each Entity
if they want to rebuild another Entities
object.
Additional context
No response
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
-
⚠️ This feature might incur a breaking change
Metadata
Metadata
Assignees
Labels
feature-requestThis issue requets a substantial new featureThis issue requets a substantial new featuregood-first-issueGood for newcomers. A smaller issue that someone new to the Cedar codebase should be able to tackleGood for newcomers. A smaller issue that someone new to the Cedar codebase should be able to tacklehelp-wantedCommunity help desired. We have not scheduled time to fix this, but think it important.Community help desired. We have not scheduled time to fix this, but think it important.