Hello Thrift users,

My company is heavily invested in Thrift and would like to extend the
language to allow for more standardization across all of our APIs.  We are
particularly interested in adding support for generic structs.  For example:

template ListResourcesResponse<Resource> {
  1: optional base.ResponseStatus status;
  2: optional i32 skip;
  3: optional i32 limit;
  4: optional i32 total;
  5: optional list<Resource> results;
}

We have prototyped this by extending the parser we're using but we'd like
to explore what options are available via the community before
committing to a non-standard thrift dialect. My questions to this group
would be:
* Does anyone have any experience with something like this? Either in
generics specifically or in extending the standard grammar.
* What would be the process for updating the Apache maintained grammar to
include an additional feature like this?

Reply via email to