Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: placeholder id for data resource instances
The state.ID attribute doesn't really do anything useful for data resource instances, because they get re-created from scratch on each read anyway. Implementations may, if desired, set an id anyway... but if they don't, we'll just provide a placeholder one to preserve the invariant without requiring each implementation to run d.SetId("-") .
- Loading branch information