dart-lang / web

Lightweight browser API bindings built around JS static interop.
https://pub.dev/packages/web
BSD 3-Clause "New" or "Revised" License
135 stars 23 forks source link

Add a generate-all flag to emit all bindings #302

Closed srujzs closed 2 months ago

srujzs commented 2 months ago

In the case where a user wants to use an experimental API that we don't include in package:web, it is useful to have the generator emit bindings still so they can copy it over instead of having to write all of it themselves. This also allows us to find problems in our tools with newer bindings before they become standard.

srujzs commented 2 months ago

This came up a couple of times, but most recently in https://github.com/dart-lang/web/issues/287.