adonis-autoswagger icon indicating copy to clipboard operation
adonis-autoswagger copied to clipboard

Support adonis v6

Open Ziut3k-dev opened this issue 1 year ago • 5 comments

Ziut3k-dev avatar Jan 26 '24 18:01 Ziut3k-dev

  • [ ] resolve all methods from new adonis

Ziut3k-dev avatar Jan 26 '24 18:01 Ziut3k-dev

@Ziut3k-dev I haven't had a chance to try adonisjs v6 yet, but will this still work with adonisjs v5?

ad-on-is avatar Jan 29 '24 10:01 ad-on-is

@ad-on-is with v5 this branch not working, Adonis fully rework type of routes in v6

Ziut3k-dev avatar Jan 29 '24 11:01 Ziut3k-dev

@ad-on-is with v5 this branch not working, Adonis fully rework type of routes in v6

This is not good, backward-compatibility with v5 MUST be assured.

Is there no such thing as Route.toJSON() in v6, so the routes get passed to adonis-autoswagger, which are then converted to the already existing interfaces like AdonisRoute and AdoniseRouteMeta?

ad-on-is avatar Jan 29 '24 11:01 ad-on-is

@ad-on-is with v5 this branch not working, Adonis fully rework type of routes in v6

This is not good, backward-compatibility with v5 MUST be assured.

Is there no such thing as Route.toJSON() in v6, so the routes get passed to adonis-autoswagger, which are then converted to the already existing interfaces like AdonisRoute and AdoniseRouteMeta?

I haven't had time to try to convert it to the interface with v5 yet, by the end of the week I will sit down and test what and how

Ziut3k-dev avatar Jan 29 '24 11:01 Ziut3k-dev

@Ziut3k-dev do you plan to handle this in the near future? Not to put any pressure but I am in need of this package on v6 or I will have to research alternatives :(

zecar avatar Feb 14 '24 15:02 zecar

@Ziut3k-dev do you plan to handle this in the near future? Not to put any pressure but I am in need of this package on v6 or I will have to research alternatives :(

I have some spare time and will look into it myself these days.

ad-on-is avatar Feb 14 '24 15:02 ad-on-is

v6 compatibility and v5 backwards-compatibility are now implemented in v 2.0.0

ad-on-is avatar Feb 15 '24 08:02 ad-on-is