You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow field access on concrete types behind interface values #951
Allow property access on typed interface values by deferring field resolution to runtime, where the
concrete type can be inspected
At runtime, recursively traverse embedded interface fields to find properties on the underlying concrete
struct (e.g. Proxy → *Wrapper → Node(interface) → *Container → Items)
Method calls on interfaces without the method still produce compile-time errors
Motivation
When a method returns a typed interface (e.g. GetByID() Component), accessing fields on the concrete type behind that interface (result.Content) was rejected by the checker since the interface type has no such field.
This change defers property lookups on interface types to runtime, where reflection can inspect the actual value.
Activity
snaffi commentedon Apr 13, 2026
Hi @antonmedv Just wanted to bump this issue
I've already submitted a PR with a fix
Would really appreciate it if you could take a look and review it when you get a chance
Thanks for the great library! 🙏
antonmedv commentedon Apr 13, 2026
Will take a look!