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

Implemented extensible way to deal with results of commands. This is … #916

Merged
merged 22 commits into from
Jan 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
c9e9560
Implemented extensible way to deal with results of commands. This is …
Dec 8, 2020
9b164ee
Sample testing the exception filter that changes CommandResult and Cu…
Dec 9, 2020
35744dd
Moved command result assignment to ViewModelSerializer
quigamdev Dec 9, 2020
f13d1e4
CustomData are returned on postbacks too
tomasherceg Dec 9, 2020
b921c1c
Command added to the test samples
tomasherceg Dec 9, 2020
977696a
- Added UI test
quigamdev Dec 29, 2020
2de91de
Update src/DotVVM.Framework/Resources/Scripts/postback/postbackCore.ts
quigamdev Dec 30, 2020
a0f37a5
Update src/DotVVM.Framework/Resources/Scripts/global-declarations.ts
quigamdev Dec 30, 2020
6ba6afa
CommandResult removed from DotvvmContext.
Mylan719 Jan 9, 2021
05ca21a
Fixing uncompillable tests
Mylan719 Jan 13, 2021
101a60e
Custom data renamed to custom response properties. Custom response pr…
Mylan719 Jan 13, 2021
5784e12
Renaming and refactoring the custom presponse properties sample.
Mylan719 Jan 13, 2021
48de474
Changed custom response property test to work with renamed UI handle.
Mylan719 Jan 13, 2021
fdcb359
More tests for viewmodel response building and static command respons…
Jan 13, 2021
11194c3
Now the error message should be gramaticaly and factually correct.
Mylan719 Jan 14, 2021
3ab69eb
Merge
Mylan719 Jan 14, 2021
02fdf6a
Now Custom properties complain when property is added after the conte…
Mylan719 Jan 14, 2021
d8eb1dc
Merge branch 'main' into ferature/command-response-customisation
Mylan719 Jan 14, 2021
6435964
Correcting faulty implementation of TestDotvvmRequestContext.
Mylan719 Jan 14, 2021
42b98ea
Removed setters for custom response properties manager. Nobody should…
Mylan719 Jan 21, 2021
b8a7bad
Merge branch 'main' into ferature/command-response-customisation
quigamdev Jan 21, 2021
ae0d2bd
Fixed CommandResultTests.SimpleExceptionFilterTest
quigamdev Jan 21, 2021
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
3 changes: 2 additions & 1 deletion src/DotVVM.Framework.PerfTests/SerializerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public void Serialize()
{
viewModel.Nested.Array[0].MyProperty = Guid.NewGuid().ToString(); // modify a bit

serializer.BuildViewModel(request);
serializer.
BuildViewModel(request, null);
LastViewModel = serializer.SerializeViewModel(request);
if (allowDiffs) request.ReceivedViewModelJson = (JObject)request.ViewModelJson["viewModel"];
}
Expand Down
Loading