Skip to content

feat: handle old and new Nodule data structures#1736

Merged
Nirajn2311 merged 2 commits intofreeCodeCamp:mainfrom
ojeytonwilliams:feat/handle-both-nodule-shapes
Feb 18, 2026
Merged

feat: handle old and new Nodule data structures#1736
Nirajn2311 merged 2 commits intofreeCodeCamp:mainfrom
ojeytonwilliams:feat/handle-both-nodule-shapes

Conversation

@ojeytonwilliams
Copy link
Contributor

@ojeytonwilliams ojeytonwilliams commented Feb 17, 2026

Checklist:

freeCodeCamp/freeCodeCamp#65857 looks to change the Nodule data structure, so this PR updates the mobile app to be able to handle both types:

{
  type: string,
  data: string | File[]
}

and

{
  type: string,
  contents: string
} | 
{
  type: string,
  files: File[]
} 

@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner February 17, 2026 12:28
Co-authored-by: Sem Bauke <semboot699@gmail.com>
@Nirajn2311 Nirajn2311 merged commit 10917c9 into freeCodeCamp:main Feb 18, 2026
4 of 6 checks passed
@ojeytonwilliams ojeytonwilliams deleted the feat/handle-both-nodule-shapes branch February 18, 2026 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments