Giter VIP home page Giter VIP logo

asynchronous-injection's People

Contributors

ploeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

asynchronous-injection's Issues

TaskMaybe and composability

Isn't TaskMaybe against composability? I would like to be able to compose a Task and Maybe together, so Task does not need to know about Maybe, and Maybe does not need to know about Task.

Is dotnet-xunit needed?

Perhaps dotnet-xunit can be removed from BookingApi.UnitTests.csproj(?)

$ git diff
diff --git a/BookingApi.UnitTests/BookingApi.UnitTests.csproj b/BookingApi.UnitTests/BookingApi.UnitTests.csproj
index c6581aa..acd844c 100644
--- a/BookingApi.UnitTests/BookingApi.UnitTests.csproj
+++ b/BookingApi.UnitTests/BookingApi.UnitTests.csproj
@@ -17,7 +17,6 @@
     <PackageReference Include="Moq" Version="4.9.0" />
     <PackageReference Include="xunit" Version="2.3.1" />
     <PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
-    <DotNetCliToolReference Include="dotnet-xunit" Version="2.3.1" />
   </ItemGroup>

   <ItemGroup>
$ git clean -xdf
Removing BookingApi.UnitTests/bin/
Removing BookingApi.UnitTests/obj/
Removing BookingApi/bin/
Removing BookingApi/obj/
$ ./build.sh
Build started, please wait...
Build completed.

Test run for <...>\Ploeh.Samples.BookingApi.UnitTests.dll(.NETCoreApp,Version=v2.0)
Microsoft (R) Test Execution Command Line Tool Version 16.0.0-preview-20181205-02
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...

Total tests: 4. Passed: 4. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 2.5872 Seconds

This is on a fresh Windows 10 (build 1809) with Visual Studio 2019 Preview (16.0.0 Preview 2.2).

Returning InternalServerError from Controller

Just saw your NDC video. The presentation was fabulous but one thing struck me from the beginning - returning 500 if table is unavailable. For a client it looks like something exceptional happened on the server but isn't it a common thing that a table is full?

It's a minor thing but I'm wondering what if I'd like to return Reservation on both cases instead of an integer? Because now a client has to deal with this 'hot potato'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.