-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
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
Implements v2.0.0 #5
Conversation
CHANGELOG-2.0.md
Outdated
* This new version is only for PHP ⩾7.1. | ||
* Update all dependencies | ||
* DoctrineParamConverter is not used needed anymore | ||
* This bundle only convert hashid into an id |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
convert "s"
CHANGELOG-2.0.md
Outdated
* DoctrineParamConverter is not used needed anymore | ||
* This bundle only convert hashid into an id | ||
* Replace `autowire` with `passthrough`. | ||
This new parameter which permits to continue with next param converters available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
whitespace between +
and This
? or you didn't mean to put a new line ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, it's intended to continue with the previous point.
README.md
Outdated
|
||
Converter Name: `hashids.converter` | ||
|
||
The hashids converter attempts to convert request hashid attributes to a | ||
id for fetch a Doctrine entity. | ||
The hashids converter attempts to convert request hashid attributes to an id. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requested
?
CHANGELOG-2.0.md
Outdated
* feature #24583 Adding a new debug:autowiring command (weaverryan) | ||
* This new version is only for PHP ⩾7.1. | ||
* Update all dependencies | ||
* DoctrineParamConverter is not used needed anymore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used "and/or" needed anymore
?
README.md
Outdated
The autowiring subsystem will detect the hashid. | ||
|
||
Base on the example above: | ||
For specify to use hashids converter just add `"hashid" = "{parameter_name}"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For specific cases, ...
?
for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the changelog, you could add the fact that you are not requiring doctrine anymore.
CHANGELOG-2.0.md
Outdated
* DoctrineParamConverter is not used needed anymore | ||
* This bundle only convert hashid into an id | ||
* Replace `autowire` with `passthrough`. | ||
This new parameter which permits to continue with next param converters available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the next ... ?
README.md
Outdated
|
||
## Installation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You do not keep a "regular" install ?
Since you specify for symfony flex ...
Maybe just describe the extra steps for symfony flex ....
README.md
Outdated
|
||
Open a command console, enter your project directory and execute the | ||
following command to download the latest stable version of this bundle: | ||
|
||
``` | ||
composer require roukmoute/hashids-bundle | ||
composer config extra.symfony.allow-contrib true | ||
composer req roukmoute/hashids-bundle | ||
``` | ||
|
||
This command requires you to have Composer installed globally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you keep it that way, these commands.
README.md
Outdated
|
||
Open a command console, enter your project directory and execute the | ||
following command to download the latest stable version of this bundle: | ||
Theses commands requires you to have Composer installed globally. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"These commands"
README.md
Outdated
Or can directly use `id` now ! | ||
## Using Passthrough | ||
|
||
`Passthrough` permits to continue with next param converters available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"permits" => "allows"
"the next available param converters"
CHANGELOG-2.0.md
Outdated
* DoctrineParamConverter is not used anymore | ||
* This bundle only converts hashid into an id | ||
* Replace `autowire` with `passthrough`. | ||
This new parameter which permits to continue with the next param converters available. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"allows to continue with the next available param converters"
3eb2070
to
8d26270
Compare
No description provided.