seatlab-dev / forked-near-rust-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Given the changes from #1, it may be possible to generate openapi files describing each method, including it's type and docs information. This should make creating/maintaining documentation much easier.
Draft notes:
X
and Y
, with X::y
being Y
, the X::y
documentation shows up but the Y
one doesn't.a
and b
and structs a::X
and b::X
, their name X
will collide and thus should be able to potentially be named a.X
and b.X
.trait
or from the same impl
block could be grouped together by having the same tag
. This aligns whit an improvement for grouping the methods together from each impl
block in a single trait
, instead of each method having it's own trait
.3.0.x
forbids the GET
http request methods from having a json body.
PATCH
is being used instead of the GET
.3.1
allows for that and is thus should be better, but there is less tooling and library support for it. So for now it's advisable to stick to the 3.0.x
spec.Some changes to the sdk are being worked on, which should make testing more ergonomic.
The current change can be found on 4.0.0-pre.8...556b6dd, from the https://github.com/Seatlab-dev/Forked-Near-Rust-Sdk/tree/seatlab-changes branch.
For the exported methods:
Input
s are made public.In order to mature those changes, the tests and documentations should be updated. Another improved would be that instead of creating one trait for each method, a single trait for all methods from the same module could be created.
Something to consider: to somehow try to merge all traits from different modules into a single super trait, so the tests could import only this unique trait which would imply all methods.
edit: once this is matured, and although the upstream project is getting away from the old simulation testing framework, this changes could still be suggested to the near foundation as (I believe) it could still help on the new workspace testing framework.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.