Skip to content Skip to sidebar Skip to footer

Breeze NewValue.getProperty Is Not A Function

I've updated to new version of breeze and ef 6. And after I did this, I get error newValue.getProperty is not a function Whenever I try to execute expand query. (for 'normal' quer

Solution 1:

Solved it !

So the problem was here:

[HttpGet]
        [Queryable(AllowedQueryOptions = AllowedQueryOptions.Supported | AllowedQueryOptions.Expand)]
        public IQueryable<Muscle> Muscles()
        {
            return _contextProvider.Context.Muscles;
        }

When I removed this line:

  [Queryable(AllowedQueryOptions = AllowedQueryOptions.Supported | AllowedQueryOptions.Expand)]

It worked like a charm,

Jay thanks for all the help :)


Post a Comment for "Breeze NewValue.getProperty Is Not A Function"