Skip to content
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

Fix indentation in changeLog.xml example #644

Open
JohnScience opened this issue Aug 28, 2024 · 1 comment
Open

Fix indentation in changeLog.xml example #644

JohnScience opened this issue Aug 28, 2024 · 1 comment
Labels

Comments

@JohnScience
Copy link

JohnScience commented Aug 28, 2024

In https://neo4j.com/labs/liquibase/docs/quickstart/#__tabbed_1_4,

databaseChangeLog:
- changeSet:
  id: my-movie-init
  author: fbiville
  changes:
  - cypher: 'CREATE (:Movie {title: ''My Life'', genre: ''Comedy''})'

the indentation is off, which causes changeSet: to be parsed as a null.

Screenshot (7)

Other code examples, e.g. https://neo4j.com/labs/liquibase/docs/reference-features/#__tabbed_1_3

databaseChangeLog:
  - changeSet:
      id: my-movie-init
      author: fbiville
      changes:
        - cypher: 'CREATE (:Movie {title: ''My Life'', genre: ''Comedy''})'
  - changeSet:
      id: translate
      author: fbiville
      changes:
        - cypher: 'MATCH (m:Movie {title: ''My Life''}) SET m.genre = ''Comédie'''
      rollback:
        - cypher: 'MATCH (m:Movie {title: ''My Life''}) SET m.genre = ''Comedy'''

demonstrate proper indentation.

@fbiville
Copy link
Collaborator

fbiville commented Sep 2, 2024

Thanks for the issue, I'll double-check. I believe Quickstart is the only documentation area that is not covered by tests, so it's very possible it does not work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants