timostamm / protobuf-ts

Protobuf and RPC for TypeScript
Apache License 2.0
1.1k stars 129 forks source link

Object generated by protobuf-ts seems not support TWO-WAY binding in vue. #648

Closed jmzwcn closed 6 months ago

jmzwcn commented 6 months ago

Object generated by protobuf-ts seems not support TWO-WAY binding in vue.

timostamm commented 6 months ago

@jmzwcn, protobuf-ts generates simple objects. I encourage you to try two-way binding in Vue with simple objects first, then pull in protobuf-ts in a separate step. If you still think protobuf-ts should change behavior after that, please explain how and why.

jmzwcn commented 6 months ago

could you please provide an example for how to two-way binding with protobuf-ts simple object in vue? ^_^

another word, how to new a protobuf-ts simple object without e.g. {id:"",description:'',medias:[],public:true,}

jmzwcn commented 6 months ago

let card:Card=Card.create()

jmzwcn commented 6 months ago

thanks!

jcready commented 6 months ago

File an issue with Vue.