joselfonseca / lighthouse-graphql-passport-auth

Add GraphQL mutations to get tokens from passport for https://lighthouse-php.com/
https://lighthouse-php-auth.com/
MIT License
228 stars 56 forks source link

Schema documentation missing UpdatePassword argument "old_password" #147

Closed GregPeden closed 3 years ago

GregPeden commented 3 years ago

The schema documentation here:

https://lighthouse-php-auth.com/docs/default-schema/

Differs from the current actual schema here:

https://github.com/joselfonseca/lighthouse-graphql-passport-auth/blob/df888a62aaf3ede59c522dbd1cce4db143aac018/graphql/auth.graphql

UpdatePassword input has an additional argument "old_password" not in documentation.

input UpdatePassword {
    old_password: String!
    password: String! @rules(apply: ["required", "confirmed", "min:8"])
    password_confirmation: String!
}
joselfonseca commented 3 years ago

Thanks for this! I'll update the docs.

joselfonseca commented 3 years ago

Updated

https://lighthouse-php-auth.com/docs/default-schema/