We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I have two files as follows:
a.ml
module Foo = struct type value = int [@@deriving protobuf {protoc }
and b.ml
b.ml
open A type value2 = Foo.value type value3 = {value: value2} [@@deriving protobuf {protoc}]
the generated protobuffer for b will be approximately:
import "A.Foo.protoc" message value2 { required Foo.value _ = 1; } message value3 { required value2 value = 1; }
This however won't compile since Foo.value is undefined, but A.Foo.value is defined.
Foo.value
A.Foo.value
If in b.ml:
type value2 = A.Foo.value
Then A.Foo.value is generated instead.
My suggestion would be to just amend the readme to fix this if a more correct fix is not possible.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I have two files as follows:
a.ml
and
b.ml
the generated protobuffer for b will be approximately:
This however won't compile since
Foo.value
is undefined, butA.Foo.value
is defined.If in
b.ml
:Then
A.Foo.value
is generated instead.My suggestion would be to just amend the readme to fix this if a more correct fix is not possible.
The text was updated successfully, but these errors were encountered: