We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi ! Amazing addon lib !
I would like to know if it's possible to add the possibility of getting @computed()? In my case i have the following:
@computed()
/** * @all * @summary Returns a list of all users * @responseBody <200> - <User[]> - List of users */ async all({ response }: HttpContext) {}
My model User has some computed values like:
User
@computed() get followingCount(): number { return this.followings ? this.followings.length : 0; } @computed() get followerCount(): number { return this.followers ? this.followers.length : 0; } @computed() get likesReceived(): number { return this._likesReceived === null ? 0 : this._likesReceived; }
But they didn't appear :'(
The text was updated successfully, but these errors were encountered:
Hum, seems like a regression as it used to work in the past.
Sorry, something went wrong.
Ok, my bad, just put a public before your get and it will be parsed.
public
get
I think I could add an additional clause checking for "get ", since it's always public
No branches or pull requests
Hi ! Amazing addon lib !
I would like to know if it's possible to add the possibility of getting
@computed()
?In my case i have the following:
My model
User
has some computed values like:But they didn't appear :'(
The text was updated successfully, but these errors were encountered: