Skip to content

Commit

Permalink
Make record fields enumerable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gozala committed Apr 19, 2015
1 parent 2202c41 commit 84d3c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export const Record = function(descriptor, label) {

if (fieldType) {
type[key] = fieldType
properties[key] = {get:Getter(key), set:Setter(key)}
properties[key] = {get:Getter(key), set:Setter(key), enumerable: true}
} else {
throw TypeError(`Invalid field descriptor provided for a "${key}" field`)
}
Expand Down

0 comments on commit 84d3c00

Please sign in to comment.