gabledata / recap

Work with your web service, database, and streaming schemas in a single format.
https://recap.build
MIT License
334 stars 24 forks source link

ProtobufConverter.from_recap fails with "Struct must have an alias" #397

Open criccomini opened 1 year ago

criccomini commented 1 year ago

This error is technically correct, but really annoying since to_recap often doesn't set an alias for a struct. I'd like PB's from_recap to work with Structs that have no aliases (maybe it picks up name or uses some default if alias is unset?).

criccomini commented 1 year ago

Make sure to enable the test_cli.py and test_gateway.py integration tests for protobuf schemas once this is done.