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

Default SocialLoginInput overrides custom SocialLoginInput #154

Closed jun-gh closed 1 year ago

jun-gh commented 2 years ago

We've been using this package since 2.0, and used custom input SocialLoginInput. It works fine until 2.1 & above where the package added default input SocialLoginInput. The newly added SocialLoginInput is the one being used on schema not our custom SocialLoginInput thus causing query/mutation error. Is there a way to remove or override the default SocialLoginInput so that our custom SocialLoginInput is the one that will be used on our schema? Or do we have to just rename our custom SocialLoginInput to ex. FkSocialLoginInput?

joselfonseca commented 2 years ago

You can publish the schema used https://lighthouse-php-auth.com/docs/customization/#customize-schema this allows full customization of the schema and resolvers used.

joselfonseca commented 1 year ago

Closing due to inactivity