getsentry / rust-sourcemap

A library for rust that implements basic sourcemap handling
Other
224 stars 27 forks source link

fix: Regression when source files are null #13

Closed jan-auer closed 5 years ago

jan-auer commented 5 years ago

This regression likely occurred with the move from serde 0.9 to 1.0. I suppose that it used to consider defaultable values optional and coerce null into default.

Anyway, I didn't want to change too much, so the only thing that has changed is that sources are now optional. This was actually uncovered by a test in sentry, which is now ported over to this repo.