Giter Club home page Giter Club logo

ardoq-csharp-client's People

Contributors

anton164 avatar ardoqbot avatar ebaxt avatar ellingbo avatar ezand avatar katostoelen avatar kristianhelgesen avatar larsw avatar magnulf avatar object avatar oddsor avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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

ardoq-csharp-client's Issues

Mismatch between GetTemplateByName and GetAllTemplates

A bug was reported regarding these two functions, and it seems like they filter search results by different criteria!

GetAllTemplates filters by m.UseAsTemplate == true, while GetTemplateByName skips this check. Results in weird scenarios where you won't find templates when getting "all" templates, but still find templates when you add a name!

See:

return allModels.Where(m => m.UseAsTemplate == true).ToList();

var result = allModels.Where (m => m.Name.ToLower () == name.ToLower ()).ToList ();

This issue is mainly about identifying which of the two lines must be updated. An issue reported by a user suggests we may simply need to remove the UseAsTemplate-check from GetAllTemplates.

Workspace model has a serialization issue

The Model.CreatedBy field is of type DateTime?. The API seemingly started returning an ID, which to me sounds more correct. However, it causes an exception when trying to deserialize this ID into a nullable DateTime.

Update packages etc

Anyone up to the task, for updating the package?
.net 5
refil > v6 (Right now v 3.1)
Newtonsoft.json > v.13 or move to System.Text.Json (If going .net 5)
nunit > v.3.13 or move to xunit (Like MS and .net)

etc?

Add "GetTemplatesByName"-function, deprecate GetTemplateByName

The convenience function "GetTemplateByName" should be deprecated and phased out, as it sets false expectations for the data model.

There can be multiple models and templates with the same name, but this helper function only returns the first element or an exception. Should be changed to return a list!

Invalid datetime format sent from client

1075195061 [worker-3] WARN ardoq.api.crud-api - Bad request: ("Value "2015-01-04T19:40:24+01:00", at path [:last-updated], did not match predicate 'ardoq.utils.validation/date-time-pred'." "Value "2015-01-04T19:40:24+01:00", at path [:created], did not match predicate 'ardoq.utils.validation/date-time-pred'.")

Target netstandard2.0

Would be nice if you created a netstandard2.0 version of this client, to enable safe cross-platform use in .NET Core applications.

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.