argument
argument copied to clipboard
Decorators for Component and Object arguments in Ember
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request....
According to: - https://youtu.be/4SPTvd8lCw4?list=PL4eq2DPpyBbkc3vz8_N4xkeboowQcPQbK&t=241 - https://github.com/ember-decorators/argument/issues/111 This addon should be deprecated in favor of https://github.com/pzuraq/ember-argument-types. Can someone confirm this and update the README accordingly?
Hi, I tried to use you library on version `v1.0.0-beta.2` With the following code: ```js import Component from '@ember/component'; import { tagName } from '@ember-decorators/component'; import { argument } from...
When having some component which takes some model as an argument, how can I validate it?
The Glimmer Component API works different to the old Ember Component API. Arguments are not placed directly on the `Component` instance, but are set as the `args` object on the...
This reverts this addon to use stage 1 / legacy decorators again and also upgrades a bunch of dependencies.
Tests are failing for `[email protected]`. I'm seeing two different errors thrown by seven tests: ``` Error: Assertion Failed: computed decorators must return an instance of an Ember ComputedProperty descriptor, received...
Hi! We are using ` "@ember-decorators/argument": "0.8.21",` and noticed that if we have a default value for an argument annotated with `@argument` keyword, that property becomes non-enumerable. We need all...
I used to be able to import this way: ``` import { type, oneOf, arrayOf, shapeOf, unionOf, optional, } from '@ember-decorators/argument/type'; ``` But I get a runtime error about a...
You are using an unsupported ember-cli-babel version,decorators will not be stripped automatically
I'm trying to upgrade Ember from 3.4 to 3.8. I'm seeing this warning: ``` WARNING: @ember-decorators/argument: You are using an unsupported ember-cli-babel version,decorators will not be stripped automatically Not a...