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
Originally posted by rruckley March 27, 2024
It would be useful to define a trait for any reference type, that defines a function to hydrate a reference into a real payload. To keep it simple, this could just return a string version of the payload that can later be parsed into a struct if required.
Then any struct that's defined as a reference can implement this.
This would be handy for micro-services but also back-end systems that need to pull in referenced data.
The text was updated successfully, but these errors were encountered:
Discussed in #71
Originally posted by rruckley March 27, 2024
It would be useful to define a trait for any reference type, that defines a function to hydrate a reference into a real payload. To keep it simple, this could just return a string version of the payload that can later be parsed into a struct if required.
Then any struct that's defined as a reference can implement this.
This would be handy for micro-services but also back-end systems that need to pull in referenced data.
The text was updated successfully, but these errors were encountered: