ardatan / ardatan/graphql-mesh
Adding an option to add the "skipAuth" to .proto services
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 363
- Avg merge
- 6h 10m
- Merged PRs (30d)
- 19
Description
Hey everyone.
I have a graphql-mesh server connecting to a grpc backend. i want to add the @skipAuth to one of the service but couldn't find a way to do it ( i use the generic-auth plugin ). would be nice to have a transform or something to add directives to grpc proto or something like that! for example:
`syntax = "proto3";
package ack;
message AckResponse{
string data = 1;
}
message AckRequest {
int32 person_id = 1;
}
service AckService {
rpc UnauthAck(AckRequest) returns (AckResponse);
rpc authAck(AckRequest) returns (AckResponse);
}
`
the UnauthAck should have the @skipauth directive.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the generic-auth plugin and the gRPC/proto service transformation path described in the issue. Determine how an option or transform could mark only UnauthAck with @skipAuth while leaving authAck protected, then verify the behavior through the project's existing validation or test path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, grpc, typescript
- Domain
- api, authentication, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100