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
I'm working on a project which uses Pkl to author configurations (yay!). So far it seems to be a well rounded choice; it helps generate JSON, YAML, etc.
On the consumption side; most of the industry has settled on Protocol Buffers (yeah, I know some use Thrift) as an interface definition language; deserialization of JSON files. And since Protocol Buffers power gRPC, it's a very convenient way of handling data that might be used in RPCs.
While converting the whole code ecosystem at my hands to a single language is a noble goal, practically it's way beyond the capabilities of me (or even a complete team) - so I'd rather seek for solutions that'd allow two system to coexist in ways that wouldn't necessarily result in ever-diverging schemas.
I wonder, if there's any way of generating Protocol Buffers IDLs out of Pkl schemas; or vice versa, define the interface w/ Protocol Buffers and generate a Pkl schema out of it?
How does the rest of the user base deal with this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi folks,
I'm working on a project which uses Pkl to author configurations (yay!). So far it seems to be a well rounded choice; it helps generate JSON, YAML, etc.
On the consumption side; most of the industry has settled on Protocol Buffers (yeah, I know some use Thrift) as an interface definition language; deserialization of JSON files. And since Protocol Buffers power gRPC, it's a very convenient way of handling data that might be used in RPCs.
While converting the whole code ecosystem at my hands to a single language is a noble goal, practically it's way beyond the capabilities of me (or even a complete team) - so I'd rather seek for solutions that'd allow two system to coexist in ways that wouldn't necessarily result in ever-diverging schemas.
I wonder, if there's any way of generating Protocol Buffers IDLs out of Pkl schemas; or vice versa, define the interface w/ Protocol Buffers and generate a Pkl schema out of it?
How does the rest of the user base deal with this?
Beta Was this translation helpful? Give feedback.
All reactions