a dang method named "secret" has unexpected effects
Author: hnirschlCreated Sep 24, 2026Updated Sep 24, 2026
What is the issue?
With this type
`type Test {
secret: Secret! { setSecret("a", "b") }
dbg(s: Secret!): String! { s.plaintext } }`
calling "dbg" always returns "b" independent which secret was passed in, I expected the secret passed in "s" to be returned.
When the method "secret" is renamed, it works as expected.
Dagger version
v1.0.0-beta.14
Steps to reproduce
No response
Log output
No response
Source: dagger/dagger