Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

separate spacetime init/dev client and server templates

Aperta
#5,876 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust, typescript

Direzione di ricerca

Parti dal comando spacetime init/dev, dal suo attuale flusso di selezione dei template e dalle opzioni --server-only e server-language descritte nell’issue. Mappa come sono attualmente accoppiati i template client e server; il lavoro è completato quando possono essere selezionati in modo indipendente, supportano linguaggi diversi e creano progetti client-only o server-only senza la finestra di dialogo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

currently spacetime init/dev templates have the client and server together in the same template folder.
this is so that the client code is compatible with the server code but it also means that it is not possible to select different languages between the client and server. if all templates that contain the same code are named the same (except the language), then it wouldn't matter if the client and server templates are selected in two steps.

so to have for example a rust server and TS client, it would require to make a rust server only, and init another TS server + client and then delete the new TS server and replace it with the earlier created rust server.

it is also not possible to make just a client or just a server once the command is run. the spacetime init has a --server-only flag but it can only be used with the start of the command and not as option later. there is no flag for just a client.

there is also a flag for the server language but not for the client language, so it is not possible to use init without going through the dialogue if you want to have a client too.

Lingua principale
Rust
Stelle
25.2k
Fork
1.1k
Merge medio
3g 17h
PR unite (30g)
45

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di clockworklabs/SpacetimeDB

Tutte le issue di clockworklabs/SpacetimeDB

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.