cloudwego / volo

Rust RPC framework with high-performance and strong-extensibility for building micro-services.
https://crates.io/crates/volo
Apache License 2.0
2.21k stars 181 forks source link

fix: add includes for resolving absolute idl path #433

Closed Millione closed 4 months ago

Millione commented 4 months ago
entries:
  thrift:
    filename: thrift_gen.rs
    protocol: thrift
    repos:
      thrift:
        url: https://github.com/apache/thrift.git
        ref: HEAD
        lock: 9bd1f1bee7bf59080492bbd3213ca1fed57ab4d6
    services:
    - idl:
        source: git
        repo: thrift
        path: test/Service.thrift

    # to solve cases like this or idl contents for include path uses absolute form
    - idl:
        source: git
        repo: thrift
        path: apache/thrift/test/Service.thrift