sway icon indicating copy to clipboard operation
sway copied to clipboard

Consider dropping `getSample` in 3.0

Open wickedest opened this issue 4 years ago • 1 comments

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.

wickedest avatar Feb 09 '20 15:02 wickedest

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.

whitlockjc avatar Feb 10 '20 17:02 whitlockjc