Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature 191507 add computed detail batch update test #144

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update ember-flexberry-dummy-localized-suggestion-type.js
  • Loading branch information
PashaMasalkin committed Oct 23, 2019
commit 6f8a697aeb8037bc5734c6fb8f8a5200a7d79349
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ var Model = Projection.Model.extend({
detailComputedField: DS.attr('string'),

/**
Method to set non-stored property.
Method to set non-stored property.
Please, use code below in model class (outside of this mixin) otherwise it will be replaced during regeneration of models.
Please, implement 'detailComputedFieldCompute' method in model class (outside of this mixin) if you want to compute value of 'detailComputedField' property.

@@ -41,7 +41,7 @@ var Model = Projection.Model.extend({
},

detailComputedFieldChanged: Ember.on('init', Ember.observer('name', function() {
Ember.run.once(this, '_detailComputedFieldCompute');
Ember.run.once(this, '_detailComputedFieldCompute');
})),

// This property is for flexberry-lookup component. No inverse relationship here.
@@ -72,7 +72,6 @@ Model.defineProjection('LocalizedSuggestionTypeE', 'ember-flexberry-dummy-locali
})
});


Model.defineProjection('LocalizedSuggestionTypeEWithComputedField', 'ember-flexberry-dummy-localized-suggestion-type', {
name: Projection.attr('Name'),
detailComputedField: Projection.attr(''),