adopted-ember-addons / adopted-ember-addons/ember-cp-validations
getDependentsFor not working in ember octane throwing maximum call stack size exceeded error
Aberta
- Linguagem predominante
- JavaScript
- Estrelas
- 439
- Forks
- 172
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
### Environment
- Ember Version: 3.16.0
- Ember CLI Version: 3.16.1
- Ember CP Validations Version: 4.0.0-beta.10
### Steps to Reproduce
EmberObject Syntax
```
ValidatorName.reopenClass({
getDependentsFor(attribute, options) {
return [];
}
});
```
Class Syntax
```
@classic
class ValidatorName extends BaseValidator {
static getDependentsFor(attribute) {
return []
};
}
export default ValidatorName;
```

Both of syntax throw this error in Octane. Is there an alternative way to achieve this, or am i doing something wrong
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.