-
Couldn't load subscription status.
- Fork 5.5k
biz/dj-2890-fix-enabledebugging-state-update-issue #15551
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
e2dcb18
f3133c3
45c9369
064be28
3ee1a48
3535aca
f1fd016
45c5244
9f9ecbb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -41,7 +41,7 @@ export type FormContext<T extends ConfigurableProps> = { | |
| setSubmitting: (submitting: boolean) => void; | ||
| submitting: boolean; | ||
| userId: string; | ||
| enableDebugging: boolean; | ||
| enableDebugging?: boolean; | ||
| }; | ||
|
|
||
| export const skippablePropTypes = [ | ||
|
|
@@ -78,7 +78,7 @@ export const FormContextProvider = <T extends ConfigurableProps>({ | |
| const id = useId(); | ||
|
|
||
| const { | ||
| component, configuredProps: __configuredProps, propNames, userId, sdkResponse, enableDebugging: __enableDebugging, | ||
| component, configuredProps: __configuredProps, propNames, userId, sdkResponse, enableDebugging, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Ensure consistent initialization of enableDebugging. The Consider initializing with a default value: - component, configuredProps: __configuredProps, propNames, userId, sdkResponse, enableDebugging,
+ component, configuredProps: __configuredProps, propNames, userId, sdkResponse, enableDebugging = false,Also applies to: 561-561 |
||
| } = formProps; | ||
| const componentId = component.key; | ||
|
|
||
|
|
@@ -104,11 +104,6 @@ export const FormContextProvider = <T extends ConfigurableProps>({ | |
| setSdkErrors, | ||
| ] = useState<SdkError[]>([]) | ||
|
|
||
| const [ | ||
| enableDebugging | ||
| , | ||
| ] = useState<boolean>(__enableDebugging === true) | ||
|
|
||
| const [ | ||
| enabledOptionalProps, | ||
| setEnabledOptionalProps, | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
LGTM! Minor version bump for @pipedream/sdk.
The update from ^1.3.2 to ^1.3.3 follows semantic versioning and should be backward compatible.
Let's verify the latest version and any breaking changes:
🌐 Web query:
💡 Result:
The latest version of
@pipedream/sdklisted in search results is v1.2.1, published on January 27, 2025[4]. While your query references version v1.3.3, no information about this specific version appears in any provided search results[4][7][8].For existing versions mentioned:
defineComponentinstead of async functions)[1], but this refers to platform changes rather than SDK updatesThe available documentation for
@pipedream/sdkfocuses on:with
$replacing legacy functions like$end/$respondvia$.flow.exit/$.respondrespectively[1][7]. No breaking changes are explicitly mentioned for SDK versions after v1.x[4][7].Citations:
Action Required: Verify the intended version for @pipedream/sdk dependency