@purcell Thanks for providing this awesome framework, it makes our life so much easier! Our main use case is creating local mocks for AWS API Gateway request templates.
This PR adds support for additional methods, to provide better compatibility with Java-based Velocity template implementations (e.g., AWS API Gateway).
In particular, this PR allows to call size() on objects of type list, and length() on objects of type str. Additional methods can be easily added to the configuration in the future.
@purcell Thanks for providing this awesome framework, it makes our life so much easier! Our main use case is creating local mocks for AWS API Gateway request templates.
This PR adds support for additional methods, to provide better compatibility with Java-based Velocity template implementations (e.g., AWS API Gateway).
In particular, this PR allows to call
size()
on objects of typelist
, andlength()
on objects of typestr
. Additional methods can be easily added to the configuration in the future.