gqlgen converting the special chars to unicode breaking the frontend
- 主要语言
- Go
- 星标
- 10.8k
- 派生
- 1.3k
- 平均合并
- 2 天 36 分钟
- 30 天内合并 PR
- 26
描述
### What happened?
```go
func (r *mutationResolver) OauthRequest(ctx context.Context, typeArg string) (string, error) {
return "http://test.com?name=jane&lastname=doe", nil
}
```
It returns the URL and converts the `&` to Unicode chars. I have frontend app where we return this URL and redirect to the below URL but URL is considered as broken
```
http://test.com?name=jane\u0026lastname=doe
```
### What did you expect?
It should return `http://test.com?name=jane&lastname=doe` so I can redirect the same.
Note: We do not have permission on frontend to add custom code so we are not able to decode this on frontend
### Minimal graphql.schema and models to reproduce
### versions
- `go run github.com/99designs/gqlgen version`: v0.17.45
- `go version`: go version go1.22.2 darwin/arm64
贡献指南
评估
这个 Issue 还没有评估数据。