1 个仓库
Processes for filtering schemas to a subset of types to reduce generated code size.
Distinct from Schema-to-Code Generators: Distinct from Schema-to-Code Generators: focuses on removing unused elements from the schema before code generation.
Explore 1 awesome GitHub repository matching software engineering & architecture · Schema Pruning. Refine with filters or upvote what's useful.
Wire 是一个跨平台的代码生成器,也是 gRPC 和 Protocol Buffers 的实现。它将模式定义转换为 Kotlin、Swift 和 Java 的类型安全原生语言绑定,以确保分布式系统之间的一致数据交换和通信。 该项目提供了用于 Protocol Buffer 模式管理的专门工具,包括修剪未使用类型和按版本过滤字段以减小最终二进制大小的能力。它还处理命名空间管理,并允许创建自定义模式处理器以在编译阶段执行用户定义的逻辑。 该框架涵盖了广泛的功能,包括为同步和异步远程过程调用生成服务接口、将模式类型映射到原生语言原语,以及将消息序列化为 JSON。它还包括对生成可打包 (parcelable) 消息和用于测试的模拟客户端的支持。
Filters schemas to a specific subset of root types and dependencies to reduce total source code size.