Skip to content

Commit 1624cf7

Browse files
author
Max Wang
committed
minor cleanup
1 parent b4aed08 commit 1624cf7

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,6 @@ VS Code Tasks
340340

341341
The SDK uses a lightweight feature flag system.
342342

343-
Current flags:
344-
- `option_set_label_conversion` – Translate picklist (option set) string labels in outgoing create/update payloads into their numeric values using cached metadata (TTL 1h). Disabled by default.
345-
346343
Source & schema:
347344
`feature_flags.json` (packaged) provides defaults. Each feature MUST use the strict object form only:
348345

@@ -355,22 +352,17 @@ Source & schema:
355352
}
356353
```
357354

358-
Rules:
355+
Notes:
359356
- Both `default` (bool) and `description` (non-empty string) are required.
360357
- No extra keys are allowed (startup fails fast on unknown keys).
361358
- The JSON file does NOT accept boolean shorthand; that form is permitted only for runtime overrides passed to the client.
362359

363-
Override precedence (highest wins):
364-
1. Explicit `feature_flags={...}` passed to `DataverseClient` (boolean overrides only at present).
365-
2. Bundled `feature_flags.json` defaults (boolean or object form).
366-
367-
Provide a feature flag mapping at construction:
360+
Override a feature flag mapping at construction:
368361
```python
369362
client = DataverseClient(
370363
base_url="https://yourorg.crm.dynamics.com",
371364
feature_flags={
372365
"option_set_label_conversion": True,
373-
# future flags here
374366
}
375367
)
376368
```

0 commit comments

Comments
 (0)