tarantool / avro-schema

Apache Avro schema tools for Tarantool
57 stars 4 forks source link

utils: explicitly require table.clear #136

Closed olegrok closed 4 years ago

olegrok commented 4 years ago

After tarantool/tarantool@3af79e70b5e1e9b1d69b97f3031a299132a02d2f table.clear method is unavailable. This patch introduces simple workaround for it and explicitly require such method.

Closes #135

rosik commented 4 years ago

I think such regressions shouldn't be worked around. It's a flaw of particular tarantool version which makes it useless. Such patch just increases module complexity.

Totktonada commented 4 years ago

I think such regressions shouldn't be worked around. It's a flaw of particular tarantool version which makes it useless. Such patch just increases module complexity.

Missed the comment, sorry. I think that convenience for a user outweights increasing of the complexity (which is tiny in this case).