B. GOR

Results 235 comments of B. GOR

Third alternative, I tried to override XHR with Proxy ``` XMLHttpRequest = new Proxy(XMLHttpRequest, { construct: function (target, args) { const xhr = () => my_sdk; return xhr; }, });...

I believe htmx allows me to write more clean code Look at this example of using my SDK (backend) with lit framework: ``` import { html, render } from 'lit-html';...

Actually I succeed on this using Service Worker as in example of POST request in htmx form below: https://github.com/galaxydo/ic-sw-starter/blob/fed15d9b3bfba91d499e2816340fd4808ee95a52/src/may16-galaxy-frontend/src/pages/Index.tsx#L12 It's being intercepted by SW here which handles the request and...

Yes please I also have this issue, in my scenario I have different elements listening to uploading status through sse, and once uploading is completed, I want to remove the...

> User has to initiate the process and then share secret link to his guardians, - that secret link allows guardians to sign transaction to smart contract, - when all...

Because every version of sleek_typography from git depends on freezed_annotation ^0.7.1 and spaces 0.5.0 depends on freezed_annotation ^0.13.0-nullsafety.0, sleek_typography from git is incompatible with spaces 0.5.0. And because no versions...

https://github.com/ferrisgram/ferrisgram/blob/3eb8d031463465c49bdffd0adf32e8c706a099fc/src/methods/send_media_group.rs#L18 the issue is here in auto generated code

> Hey! Thanks for getting it into our notice. It seems like the problem is with the generator itself. With due respect, would you like to PR the fix yourself...

I have considered different solutions and leaning towards simplest option to combine all optional fields into a single struct, ignoring its name. In this case, the argument structure would contain...

Ideally, following usage would be most convenient: ``` // first bot.send_media_group() // auto-suggested argument of InputMediaPhoto type ``` But Rust does not support argument overloading, and instead recommends to create...