This includes an Object.freeze for the nested fieldBaseTypes of each type in the bundle output. It's included for scalars too (which don't have the fieldBaseTypes property) because I couldn't figure out how to do that conditional logic in the template. It's not really a problem because in those cases it just evaluates to Object.freeze(undefined) which is a no-op.
@minasmart please review.
This includes an
Object.freeze
for the nestedfieldBaseTypes
of each type in the bundle output. It's included for scalars too (which don't have thefieldBaseTypes
property) because I couldn't figure out how to do that conditional logic in the template. It's not really a problem because in those cases it just evaluates toObject.freeze(undefined)
which is a no-op.