-
Notifications
You must be signed in to change notification settings - Fork 22
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
request->id validation and request->method delimiter #11
Comments
Hi, which rule do you think is more appropriate? Now there is no way to change the separator: Lines 109 to 110 in 92e0e2b
But we can make it dynamic through PR |
@tabuna It sounds good. I have few ideas about it:
Which one do you prefer? And about id validation: I think we can use the simple |
@tabuna ping :) |
Hey. I think a good method was to move it to the configuration file. But one single setting seems to be meager. What do you think about adding a second optional argument? /**
* Guide constructor.
*
* @param string[] $procedures
*/
public function __construct(array $procedures = [], string $delimiter = '@') Then we could pass it on. Route::rpc('/v1/endpoint', [TennisProcedure::class], '@')->name('rpc.endpoint'); Both options are acceptable. As for validation, we have failed tests with the value |
I have verified that the uuid1 and uuid4 IDs passed as a valid parameter. f09d14b |
@tabuna Tnx! |
Release https://github.com/sajya/server/releases/tag/2.2.0 As for Laravel 6, I have no plans to release a release for that. |
Hello @tabuna
Thanks for this awesome package!
I have two simple questions
What is the reason for the current validation rule, which is
How can I change default @ to the . (dot) or : (colon)?
The text was updated successfully, but these errors were encountered: