Git Product home page Git Product logo

Comments (12)

Ervie avatar Ervie commented on July 29, 2024

I tried it a few times myself, but it passes every time. Were you calling it with some specific parameter? Could be just some issues on API side (like returning pagination object twice), but I'm unsure.

from jikan.net.

JaoHundred avatar JaoHundred commented on July 29, 2024

I was using the ScheduledDay parameter, didn't tried the parameterless nor the int one. Later I will try to investigate more.

from jikan.net.

JaoHundred avatar JaoHundred commented on July 29, 2024

I Tried a few things:

  • Parameterless, int, ScheduledDay
  • Calling the method from main thread
  • Checking if the method was being called twice

Didn't found the issue source for now, this only happened from my experience when I used the DbPaginatedJikanResponse.

from jikan.net.

Ervie avatar Ervie commented on July 29, 2024

Ok, please let me know if you are able to reproduce the issue I tried few other things but to no avail too.

from jikan.net.

JaoHundred avatar JaoHundred commented on July 29, 2024

I made a console app to test this and used .NET Core 3.1 framework, the same exception message appears to me for every request which returns DbPaginatedJikanResponse, I can confirm now it only happens for this specific type. Maybe could this have some incompatibility with the operating system language and the underlying Json text?

from jikan.net.

Ervie avatar Ervie commented on July 29, 2024

My take (not confirmed) is that it might be affecting older supported .net versions, meaning .netstandard2.0 and .netcore3.1. Honestly I keep my code and tests in the newest version (currently net6.0), so it might use newer syntax that doesn't translate well to older versions. I'll try to verify that later.

from jikan.net.

JaoHundred avatar JaoHundred commented on July 29, 2024

I see, that does make sense, I'm using .NET Standard 2.1 for my app. I only have the tools for standard 2.1 and core 3.1.

from jikan.net.

Ervie avatar Ervie commented on July 29, 2024

I can confirm that this is happening for version core 3.1 and possible .netstandard2.0. I'll try to find to proper remedy next weekend.

from jikan.net.

JaoHundred avatar JaoHundred commented on July 29, 2024

Thanks again for the help Ervie.

from jikan.net.

Ervie avatar Ervie commented on July 29, 2024

Hello,

I pushed the package with version 2.4.0 - it should use standardized model compatible with versions 3.1 and older. The changes are described in the readme and changelog.

from jikan.net.

JaoHundred avatar JaoHundred commented on July 29, 2024

It works now, thanks Ervie.

from jikan.net.

Ervie avatar Ervie commented on July 29, 2024

Solved in version 2.4.0

from jikan.net.

Related Issues (20)

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.