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
Is there a way to build the files also for other languages, like Typescript?
We want to have one way to define how our Firestore documents have to look like.
It does seem to work with primitive types like strings, numbers, even Timestamps, ...
@IchordeDionysos I do think it should be possible to use the proto extensions here to generate proto bindings in other languages (TS included).
Can you show me a simple end-to-end example of how it fails with references? Show me your proto definition, the command you're using to compile it with protoc, and the error message you get.
And every field where there was a special annotation, like the Reference [1] or the enum string value annotation, it did not work properly.
It just generated an enum with numbers instead of an enum with strings, which is not really helpful...
Also, references were generated as strings and not FirebaseFirestore.DocumentReference
Is there a way to build the files also for other languages, like Typescript?
We want to have one way to define how our Firestore documents have to look like.
It does seem to work with primitive types like strings, numbers, even Timestamps, ...
But once I add a Reference (with the special syntax defined by this project), it breaks with other compilers, like protobufjs.
Also, enums kinda work, but they aren't properly mapped onto string values:
This is generated:
This should have been generated:
The text was updated successfully, but these errors were encountered: