Discussion:
[capnproto] Do i need to change the unique file id each time i change the schema?
m***@gmail.com
2018-01-04 12:22:28 UTC
Permalink
The `capnp` unique file id, do i have to change it (generate a new one)
after adding new fields to my schema ?

Thanks
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
'Kenton Varda' via Cap'n Proto
2018-01-05 21:27:12 UTC
Permalink
Hi Muhamad,

No, in fact, you should not change the ID. The purpose of the ID is to
recognize when two different files are versions of the same schema, so it
should remain the same across versions.

-Kenton
Post by m***@gmail.com
The `capnp` unique file id, do i have to change it (generate a new one)
after adding new fields to my schema ?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/capnproto.
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
m***@gmail.com
2018-01-08 10:42:44 UTC
Permalink
Thanks a lot for your answer :)
Post by 'Kenton Varda' via Cap'n Proto
Hi Muhamad,
No, in fact, you should not change the ID. The purpose of the ID is to
recognize when two different files are versions of the same schema, so it
should remain the same across versions.
-Kenton
Post by m***@gmail.com
The `capnp` unique file id, do i have to change it (generate a new one)
after adding new fields to my schema ?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/capnproto.
--
You received this message because you are subscribed to the Google Groups "Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capnproto+***@googlegroups.com.
Visit this group at https://groups.google.com/group/capnproto.
Loading...