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

Enable synchronizing SlackConfig changes to already initialized API clients

Aperta
#1,132 0 commenti 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
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java
Ambito
api

Direzione di ricerca

La issue indica SlackConfig, le istanze Slack inizializzate e client come MethodsClient; inizia tracciando come viene copiata la configurazione durante l'inizializzazione del client API. Definisci la sincronizzazione e qualsiasi comportamento di opt-in, quindi verifica che le modifiche successive al proxy e alle altre impostazioni di inizializzazione vengano riflesse nei client attivi.

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

Descrizione

enhancement project:slack-api-client

As mentioned in https://github.com/slackapi/java-slack-sdk/issues/1129

It would be nice if slackConfig.setProxy() would work after the the SlackConfig is initialized. I think it works if the library detects no environment variables and proxyUrl is null. (At least this is what happens in v1.13.0 of the library, but because this version does not try to look at the HTTPS_PROXY and HTTP_PROXY environment variables)

updating the proxy URL in the SlackConfig does not affect the already initialized Slack instances and its API clients such as MethodsClient. This is true not only for the proxy URL setting but also others that can be used for initializing API clients.

To improve this, linking a SlackConfig and all the active API clients that used the SlackConfig for initialization and synchronizing the changes. This should work well for most cases but it can be a minor behavior change. So, if we add this enhancement, perhaps, we should consider a new opt-in option for enabling the behavior change only when it's necessary.

Category (place an x in each of the [ ])
  • bolt (Bolt for Java)
  • bolt-{sub modules} (Bolt for Java - optional modules)
  • slack-api-client (Slack API Clients)
  • slack-api-model (Slack API Data Models)
  • slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
  • slack-app-backend (The primitive layer of Bolt for Java)
Requirements

Please make sure if this topic is specific to this SDK. For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

Lingua principale
Java
Stelle
602
Fork
235
Merge medio
2g 13h
PR unite (30g)
8

Preparare l'ambiente

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 slackapi/java-slack-sdk

Tutte le issue di slackapi/java-slack-sdk

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.