Skip to content

[RFR] Fix inconsistency in remote reference map#659

Merged
fzaninotto merged 1 commit intomasterfrom
reference_map
Sep 3, 2015
Merged

[RFR] Fix inconsistency in remote reference map#659
fzaninotto merged 1 commit intomasterfrom
reference_map

Conversation

@fzaninotto
Copy link
Copy Markdown
Member

Before:

nga.field('post_id', 'reference')
    .map(truncate) // doesn't make sense, we truncate a post_id???
    .label('Post')
    .targetEntity(post)
    .targetField(nga.field('title'))

After:

nga.field('post_id', 'reference')
    .label('Post')
    .targetEntity(post)
    .targetField(nga.field('title').map(truncate))

fzaninotto added a commit that referenced this pull request Sep 3, 2015
[RFR] Fix inconsistency in remote reference map
@fzaninotto fzaninotto merged commit ea57d23 into master Sep 3, 2015
@fzaninotto fzaninotto deleted the reference_map branch September 3, 2015 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant