Migration error when attempting to make property required in abstract type
- Dominant language
- Rust
- Stars
- 175
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to make a property required, in an abstract type, but fail to create a migration due to an error.
Steps to Reproduce:
1. Abstract type (e.g. `TeamOwnable`) with an optional property (e.g. `team`), applied migration.
2. Ensure no entry without a team exists.
3. Change the property to required and try to migrate.
4. As fill expression during the migration, use `assert_exists(.team)` as described [here](https://docs.edgedb.com/guides/migrations/tips#adding-a-required-link)
The migration fails with the following error:
`edgedb error: EdgeDB could not resolve migration with the provided answers. Please retry with different answers.`
No matter which fill expression I use, the migration fails. Any workaround idea is appreciated.
- EdgeDB Version: "4.7+45e4acc"
- EdgeDB CLI Version: 4.1.0+a8fe4d7
- OS Version: macOS 13.6
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.