GithubHelp home page GithubHelp logo

mhozaifaa / meteors.operationresult Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 0.0 210 KB

Operation result powerful to handle multi statuses, Easy to user with fancy pattern, Support json convention, Wise level state with multi operation , able include collect and into (forkJoin) functionality

License: MIT License

C# 100.00%
operation-result csharp asp-net-core aspcore json response http helper extension repository

meteors.operationresult's Introduction

Hi there ๐Ÿ‘‹

Currently, I'm busy building cores and architecture softwares ๐Ÿ’ป

LinkedIn Badge Medium Badge

Nuget Badge
Nuget
Nuget

meteors.operationresult's People

Contributors

mhozaifaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

meteors.operationresult's Issues

Feature v6.2.1

  • think if we replace OperationResultbase to -> OperationResult without Base! as abstract (this feature allow to save same concept and add more extensions later)

  • move WithStatusCode extension to Base,

  • Append with OperationResult<>,

  • Add ctr/method to revice all props as 'Create Instance' (more useing when you have un-know operation-prop take value after plh of condig ).
    ex:

      Status status;
      string message = String.Empty();
      :
      Int statuscode...
      :
      
      if(--cond--){ ..//change status } 
      else if( .... cond ---.... }....
      :
    
      _Operation.Set(status,message,statuscode....); //auto know exactly operationResult
  • back to implicity (success) ๐Ÿ˜‰ but for limited types (IList<>,ICollection<>,IEnumerable<>,INumber(int,double,...) .Net7.0) not supported (Tuple,Object, dynamic, any not basic) under see (string)

    OperationResult<List<Foo>> Get() 
    {  return new ();   };
  • Stop return null/by default value as Json like as ("", [], {}) SerializerSettings

  • Global static Isbody, Global static checkin object to serialize , sme to add xtensions for oepration.

  • #7

To add

  • interceptor to Set,
  • Set method with not base
  • enable convert un body operation to any other type data
  • global body
  • OperationResult without Generic <>

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.