Krešimir Klas

Results 57 comments of Krešimir Klas

I agree about the conversion functions, but I'd argue the schema shouldn't allow arbitrary fields because the whole benefit of having a schema is that you know the fields and...

I have no strong preference with regards to objects vs maps, but I agree objects feel more natural. We can keep objects for now and maybe later add an option...

> because TS will serialize the fields incorrectly. If fields are defined as project_id in the schema, then you get projectId Not sure what you mean here. Looked at the...

Played a bit with JSON.parse callback but couldn't get it to work on firefox: ``` function camelize(str) { capitalize = (str) => {str.charAt(0).toUpperCase() + str.slice(1)} tok = str.split("_") ret =...

I've added both `@emotion/styled` and `@emotin/react`. The issue is not with getting it running, but when selecting the wallet from the list that pops up when you click 'connect' crashes...

Thanks! The issue seems to be due to HMR `@vitejs/plugin-react`. This is the `package.json` I'm using (generated by "npm create vite@latest"): ``` { "name": "vite-project", "private": true, "version": "0.0.0", "type":...

@ronanyeah @y2kappa @JoeHowarth will this work https://github.com/kklas/anchor-client-gen/pull/55 ?

I also ran into this and as a workaround I used the one built by my github job in the `kklas/anchor-nightly` repo ``` "@project-serum/anchor-cli": "https://github.com/kklas/anchor-nightly/releases/download/anchor-cli-latest/anchor-cli-0.25.0-7eb8ca8.tgz", ``` Armani said on discord...

Seems like you have a linter error. Run the following in the repo root directory ``` $ cargo fmt -- --check $ cargo clippy --all-targets -- -D warnings $ cargo...