-
Notifications
You must be signed in to change notification settings - Fork 843
Renames #68
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
Renames #68
Conversation
Hi @Fugiman This is great! Thanks for taking this up! Re: Besides prefixing it with Can I suggest writing a little comment for at least one of the Cheers! |
@chris-ramon That's a great idea 👍🏻 If you want to try this approach, IIRC you might want to take a look at |
I think this is ready to go, I've reviewed and looks good to to me, if someone would like to share ur thoughts on this please do 👍
Again thanks for ur work on this @Fugiman 🌟 I've discovered various great go tools since you've being contributing!, thanks for that as well 😄 |
This looks good to me as well 👍🏻 |
Renamed exported structs and methods for better readability and usability.
I'll go ahead and merge this, so that we can facilitate other PRs to move forward. Thanks again @Fugiman 👍🏻🌟 |
As discussed in #20 and #44, this renames a bunch of structs and methods. I simply used
gorename
to do this, there are no actual code changes.Graphql
->Do
FieldConfigMap
->Fields
FieldConfig
->Field
GQLFRParams
->ResolveParams
GQLFormattedErrorSlice
->FormattedErrors
Name
->PrivateName
Description
->PrivateDescription
GetName
->Name
GetDescription
->Description
GetError
->Error
GetValues
->Values
GetFields
->Fields
GetObjectType
->ObjectType
GetPossibleTypes
->PossibleTypes
GetInterfaces
->Interfaces
GetDirectives
->Directives
GetMutationType
->MutationType
GetQueryType
->QueryType
GetType
->Type
GetTypeMap
->TypeMap
I couldn't use
name
anddescription
due toencoding/json
only working on exported fields.