You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#[SetFilterOrValidator(newWithNamedParameters(Password::class), Placement::After)]
class Password
{
publicreadonlystring$hashedPassword;
publicfunction__construct(string$password) { /* hash password */ }
}
#[SetFilterOrValidator(newWithNamedParameters(Password::class), Placement::After)]
class User
{
publicfunction__construct(publicreadonlyPassword$password) { }
}
When called with the input: {'password': "some string password"} the error message isn't super helpful in tracking down the missing Nest filter. (correct input should be: {'password': {'password': "some string password"}} which probably isn't what is in the API)
Not sure this is completely fixable as it's a developer error but it'd be good if it was possible to give them a better hint as to how to fix it.
The text was updated successfully, but these errors were encountered:
When called with the input: {'password': "some string password"} the error message isn't super helpful in tracking down the missing Nest filter. (correct input should be: {'password': {'password': "some string password"}} which probably isn't what is in the API)
Not sure this is completely fixable as it's a developer error but it'd be good if it was possible to give them a better hint as to how to fix it.
The text was updated successfully, but these errors were encountered: