Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Refixing the syntax for @api-return to be more MSON-like. #236

Merged
merged 1 commit into from
May 16, 2019

Conversation

erunion
Copy link
Owner

@erunion erunion commented May 16, 2019

This introduces a new, refined, syntax for @api-return annotations to make it more MSON-like and similar to other annotations within Mill.

Old

- @api-return:public {deleted}
- @api-return:public {notmodified} If no data has been changed.
- @api-return:public {collection} \Mill\Examples\Showtimes\Representations\Movie
- @api-return:public {collection} \Mill\Examples\Showtimes\Representations\Movie A collection of movies.

New

- @api-return:public deleted
- @api-return:public notmodified - If no data has been changed.
- @api-return:public collection (\Mill\Examples\Showtimes\Representations\Movie)
- @api-return:public collection (\Mill\Examples\Showtimes\Representations\Movie) - A collection of movies.

@erunion erunion added this to the v6.0: Freddy's Revenge milestone May 16, 2019
@erunion erunion merged commit b6e1270 into v6-dev May 16, 2019
@erunion erunion deleted the refined-return-annotation-syntax branch May 16, 2019 00:05
@erunion erunion mentioned this pull request May 16, 2019
8 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant