Open gonfunko opened 1 day ago
Fixes #5071
This PR adds a getFields() generator to Block that returns a generator that may be used to iterate through all the fields on the block. It also updates core to use this method in preference to nested for loops.
getFields()
Block
The basics
The details
Resolves
Fixes #5071
Proposed Changes
This PR adds a
getFields()
generator toBlock
that returns a generator that may be used to iterate through all the fields on the block. It also updates core to use this method in preference to nested for loops.