Comments (6)
Thanks for the report, @gsigler. We've added this into our backlog for our development team to work on, and we'll make sure to provide updates on the progress as they become available. If this is time sensitive for your project, you're welcome to file a Pull Request yourself to help speed up the process.
from learnosity-sdk-asp.net.
Hi @gsigler,
To make sure we address this issue properly, are you able to provide more details about the particular request/initialization you're trying to build that you need to sign without providing the request
to the Init
constructor?
While I agree the documentation and the actual behaviour of the SDK do not align in this case, Items API requires a few basic parameters specified in the request
(generally user_id
, session_id
, and a set of Items to use). Additionally, the request
is used as an input for generating the signature so it cannot be altered after generation.
from learnosity-sdk-asp.net.
Ahh that was not clear from the documentation. I was expecting to be able to create an Init and then attach the request information later. But it makes sense in retrospect that you can't change the body of the request after you create an init.
In that case there is probably nothing to be done.
Thanks!
from learnosity-sdk-asp.net.
No worries. Yeah, currently there isn't a way to update the request after calling the constructor.
I'll be keeping this issue open while we work through fixing the exception that is thrown, though, as a signed request should still be generated at least.
In this particular case, if the signing had worked and the generated request was used, Items API would have provided more helpful information about the required fields within the request.
from learnosity-sdk-asp.net.
Hey @gsigler,
We've merged a fix for the issue you reported and plan to release it to NuGet on Monday. Please let us know if you have any further questions. (However if it's urgent, it's probably best to contact our support because they generally have a quicker response time)
from learnosity-sdk-asp.net.
We have completed the release containing a fix for the issue you have reported - v0.9.1. It is now available on NuGet for download and use.
from learnosity-sdk-asp.net.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learnosity-sdk-asp.net.