Skip to content
  • George Claghorn's avatar
    934e201b
    Preserve existing attachment assignment behavior for upgraded apps · 934e201b
    George Claghorn authored
    Assigning to a collection of attachments appends rather than replacing, as in 5.2. Existing 5.2 apps that rely on this behavior will no longer break when they're upgraded to 6.0.
    
    For apps generated on 6.0 or newer, assigning replaces the existing attachments in the collection. #attach should be used to add new attachments to the collection without removing existing ones.
    
    I expect that we'll deprecate the old behavior in 6.1.
    
    Closes #36374.
    934e201b
    Preserve existing attachment assignment behavior for upgraded apps
    George Claghorn authored
    Assigning to a collection of attachments appends rather than replacing, as in 5.2. Existing 5.2 apps that rely on this behavior will no longer break when they're upgraded to 6.0.
    
    For apps generated on 6.0 or newer, assigning replaces the existing attachments in the collection. #attach should be used to add new attachments to the collection without removing existing ones.
    
    I expect that we'll deprecate the old behavior in 6.1.
    
    Closes #36374.
Loading