sway
sway copied to clipboard
Consider dropping `getSample` in 3.0
trafficstars
I was investigating why sway is 10.4 MB. A good chunk of that size is related to json-schema-faker and its dependencies (4.2 MB). Digging into the code, it only seems to be used by getSample. Is this feature really necessary? I mean, getExample can provide much better samples.
The current refactoring to support 3.x will not have json-schema-faker, it's too bulky and not as easy to slim down as we need.