Github user Jens-G commented on a diff in the pull request:

    https://github.com/apache/thrift/pull/1147#discussion_r94346784
  
    --- Diff: test/ThriftTest.thrift ---
    @@ -67,7 +67,7 @@ typedef i64 UserId
     struct Bonk
     {
       1: string message,
    -  2: i32 type
    +  2: i32 bonkType
     }
    --- End diff --
    
    Well, first, it is a keyword in Delphi too. Next, you cannot safely assume 
that anyone offering a Thrift API will test all languages implemented today if 
they work with the curent names you use in your IDL. And you cannot look into 
the future and foresee what language Apple or Google or whoever else comes 
around next week which may use "bonkType" as a keyword. So we have to deal with 
it.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to