Conversation
…pping and default URL - Add SelectorBuilder class with SelectorBuilderInterface for API-compliant selector wrapping (Filter/Select/OrderBy/Top) and injection-safe value escaping - Fix AppSheetClient.find() to automatically wrap raw selectors in Filter() - Fix default base URL from deprecated api.appsheet.com to www.appsheet.com - Add DI-compatible injection via optional constructor parameters in AppSheetClient and AppSheetClientFactory (Option B - no breaking change) - Bump version to 3.1.0
…hnical conception - Archive TECHNICAL_CONCEPTION.md to docs/archive/ (v1.0 planning document, not current) - Update examples/basic-usage.ts to v3.1.0 constructor signature (ConnectionDefinition) - Update examples/schema-based-usage.ts to v3.1.0 factory injection pattern - Update examples/config/example-schema.yaml to v2.0.0 AppSheet field type format - Add examples/selector-builder-usage.ts (escaping, safe filters, DI, AOP) - Update docs/README.md with all examples and concept document references
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SelectorBuilderInterfacefuer API-konforme Selector-Expressions (Filter(),Select(),OrderBy(),Top()) und Injection-sicheres Value-EscapingAppSheetClient.find()wrappet raw Selectors automatisch inFilter(tableName, expression)(AppSheet API Spezifikation)api.appsheet.comaufwww.appsheet.comkorrigiertSelectorBuilderInterface-Parameter inAppSheetClientFactory-Constructor undAppSheetClient-Constructor — kein Breaking Change, ermoeglicht Injection eigener Builder-Implementierungen (z.B. fuer AOP-Logging via Subklasse)Jira
SOSO-365
Konzept
Siehe
docs/SOSO-365/BUGFIX_CONCEPT.mdfuer Design-Entscheidungen, DI-Kompatibilitaet und AOP-Erweiterbarkeit.Neue Dateien
src/types/selector.tsSelectorBuilderInterfaceDefinitionsrc/utils/SelectorBuilder.tsSelectorBuilderKlassetests/utils/SelectorBuilder.test.tsdocs/SOSO-365/BUGFIX_CONCEPT.mdGeaenderte Dateien
src/client/AppSheetClient.tsselectorBuilder?,ensureFunction()infind(), Default URLsrc/client/AppSheetClientFactory.tsselectorBuilder?, Durchreichung anAppSheetClientsrc/types/index.tssrc/utils/index.tssrc/types/config.tssrc/types/schema.tstests/client/AppSheetClient.test.tsFilter(tableName, ...)tests/client/AppSheetClient.v3.test.tsBreaking Changes
Keine.
AppSheetClientFactoryInterface.create()ist unveraendert. Alle neuen Parameter sind optional.Test-Ergebnis